According to PKCS1 - section 7.2 and 7.2.1 the recommendation
   is to generate a new random padding string for each encryption
   operation. The java implementation is following this
   recommendation while the card probably isn't.
   
I would say it depends on what cipher the card uses. If it is
ALG_RSA_PKCS1 (see javacardx.crypto.cipher) then it is probably
using the same padding scheme. If it is ALG_RSA_NOPAD, then it is
not using any padding.

Bye,

Hendrik
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to