Re: RSA sign with MD5 encryption - WeOnlyDo Discussion board

Re: RSA sign with MD5 encryption (General questions)

by Erick, Thursday, December 09, 2004, 21:19 (7287 days ago) @ wodSupport

Erick,

correct. Component will not do MD5 hashing, but call to OpenSSL's RSA_sign will do that.

Regards.

Great, thanks for the info.

Two more questions:

1. How can I load the .cer file to let me verify the cipher text I just got? (The public key is in the certificate store).

2. Should I digest and then sign the string? It will be a very big string (500 chars, more or less) and the other part (the people I will send the cipher text in Base64) shall be able to verify it with my certificate, supposedly under a standard. (I think its PKCS#1). While I am pretty confident that I should hash the strig and then send the hash to the Sign function, I just would like to know the answer (The call to Sign seems to fail if I send a string that big).


Complete thread: