Re: openssl RSA byte-order not PKCS#1 compliant ?

2009-05-13 Thread Harm Verhagen
>> On Tue 12/05/09 1:14 PM , Harm Verhagen harm.verhagen+web...@gmail.com >> sent: ... >>When carefully reading chapter 7.2.1 encryption >>It describes how to generate the ciphertext representative c. (an integer) >>And then how to encode that integer using I

openssl RSA byte-order not PKCS#1 compliant ?

2009-05-12 Thread Harm Verhagen
Hi, As known on the openssl mailinglists there is a difference in byte order between openssl and MS cryptoAPI, when doing RSA encryption. Googling around I find many references to claims that "openssl is PKCS#1 compliant (big-endian)" "MS is wrong" "just reverse your bytes". I was about to settle