Hi

How do i create a HMAC-SHA1 with a RSA Key?
What do i give as input for the param *key?

Why:
My encrypted file has now the filename of the unencrypted-files-sha1. 
(unsecure!).
I cannot use the sha1 of the encrypted file because i use EVP_Seal* (aes256 
session key) so the sha1 of the encrypted file will change after every 
encryption (need to be constant because of the other function in the project).
My approach is, to use a encrypted sha1 of the unencrypted file (so it might 
keep constant).
I also tried to use RSA_public_encrypt on the unencrypted sha1, but i'd like to 
avoid 128BIT filenames.

Thanks for help
--
Jonas______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to