decrypt DES in javacard vs java
Posted: Wed Jan 20, 2016 10:30 pm
Hi all!
I tested DES decryption on java card and I also did comparison between java card and java.
I got the following result:
In update method, DES CBC (M1, M2, or, PK5);
- If implementing in java, I need to have at least 16 bytes input to have output data.
- If implementing in java card, I need to have at least 8 byte to have output data.
So what reason results in this difference?
If anyone can share your knowledge with me, I would be greatly appreciated.
I tested DES decryption on java card and I also did comparison between java card and java.
I got the following result:
In update method, DES CBC (M1, M2, or, PK5);
- If implementing in java, I need to have at least 16 bytes input to have output data.
- If implementing in java card, I need to have at least 8 byte to have output data.
So what reason results in this difference?
If anyone can share your knowledge with me, I would be greatly appreciated.