[Muscle] Export RSA public key out of the card
Hendrik Tews
tews at cs.ru.nl
Mon Apr 27 04:50:31 PDT 2009
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
More information about the Muscle
mailing list