JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
Is there any limit with the length of the data to cipher on 3DES
Moderator: UNKNwYSHSA
Is there any limit with the length of the data to cipher on 3DES
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?
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3053
- Contact:
Re: Is there any limit with the length of the data to cipher on 3DES
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.
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.
sense and simplicity
Who is online
Users browsing this forum: No registered users and 2 guests