Page 1 of 1

Is there any limit with the length of the data to cipher on 3DES

Posted: Thu Mar 10, 2016 4:05 am
by wkuzma
Recently, I have been trying to use 3DES to cipher data. Now I wanna know if there is any limit with the length of the data to cipher on 3DES. In fact, I am able to cipher data with length 8 bytes,16 bytes. For other length, I will get "6F00". Why? Is their any limit?

Re: Is there any limit with the length of the data to cipher on 3DES

Posted: Tue Mar 15, 2016 2:44 am
by UNKNwYSHSA
The data block size of DES is 8 bytes.
So the length of your data shall be 8,16,24,32,n*8.
You can padding your input data when the data length is not 8 multiplied.