Hi,

I want to port few MS Crypto Api's on Linux.
Here are api's which i want to port.
CryptSetKeyParam
CryptDecrypt
CryptEncrypt
CryptGetKeyParam

I want to use the same parameters used for encryption and decryption on windows.
For e.g.
CryptDecrypt uses parameters:
hkey ---        key to use for the decryption.
hHash ---   Hash handle MD5 or SHA1.
dwFlag-----For padding
pbData --- Data to decrypt.
pdwDatalength -- Size of data to decrypt.

Can this be possible using Crypto Library?
Which Crypto Api's in Linux uses key, MD5 or SHA1 and padding to decrypt and encrypt the data?

Thanks,
Gaurav

Reply via email to