How to encrypt data -- on card or off card
Posted: Sun Nov 29, 2015 4:25 am
Due to security reason, I should store encrypted data in java card. And there is two methods to aim this goal.
1. Encrypt data with offcard application and then send it to javacard.
2. Send data to java card and let java card encrypt it.
In consideration of SECURITY, Which one is best method to do this?
1. Encrypt data with offcard application and then send it to javacard.
2. Send data to java card and let java card encrypt it.
In consideration of SECURITY, Which one is best method to do this?