HsOpenSSL icon indicating copy to clipboard operation
HsOpenSSL copied to clipboard

RSA decryption

Open timbod7 opened this issue 9 years ago • 1 comments

I can successfully decrypt some rsa encrypted data with

openssl rsautl -inkey key.pem -decrypt

Does the library have functionality equivalent to this? I suspect that the OpenSSL C function RSA_private_decrypt needs to be called, and a scan of the source for the library doesn't show this as a foreign import.

timbod7 avatar Feb 24 '16 06:02 timbod7

I'm new maintainer of HsOpenSSL. Please reopen this issue in the new repo https://github.com/vshabanov/HsOpenSSL It would be great if you could provide a pull request with this functionality.

vshabanov avatar Oct 04 '16 21:10 vshabanov