Hi,

I am signing a hash (40 bytes) of a file.


the hash is b032e3eb51ad878c2f46700f50327eb8ee27c3e6.

RSA_sign(NID_sha1,chHash,40,sigbuf,&sigSize,pPrivateKeyRSA);

after signing when I verify using openssl I see few character at the
beginning.

openssl rsautl -verify -in test.sgn -out test.o.sha1  -inkey publickey.pem
-pubin

test.o.sha1 is like 
050     + (b032e3eb51ad878c2f46700f50327eb8ee27c3e6

my Q.

what are these characters at the beginning? How I can get rid off it.?

BT
-- 
View this message in context: 
http://old.nabble.com/RSA_sign-issue-tp26477881p26477881.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to