#1 2017-07-07 13:47:50

squirrel
Member
Registered: 2015-08-13
Posts: 155

Openssl RSA Decrypt

Is there a method in SynCrypto which provides for decrypting a RSAutl string?  I have the private key, but can't find anything that provides the same result in delphi as using:

openssl rsautl -decrypt -inkey keyfile.pem

Does anybody have any suggestions or past experience that might help?

Offline

#2 2017-07-07 14:00:06

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,656
Website

Re: Openssl RSA Decrypt

No, there is no RSA encryption implemented in SynCrypto.

We only support ECDHE for asymmetric encryption, in SynEcc.pas.
In fact ECC is known to be a better, newer alternative to RSA.

Offline

#3 2017-07-07 14:06:06

squirrel
Member
Registered: 2015-08-13
Posts: 155

Re: Openssl RSA Decrypt

Thanks for the quick reply.  Would something like this be possible using the wrappers available in SynOpenSSL?

Offline

#4 2017-07-07 14:23:24

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,656
Website

Re: Openssl RSA Decrypt

Yes, when SynOpenSSL.pas will be finished (it is not useful yet).

Offline

#5 2017-07-11 01:16:07

cybexr
Member
Registered: 2016-09-14
Posts: 81

Re: Openssl RSA Decrypt

Offline

Board footer

Powered by FluxBB