[botan-devel] Encrypt with private key, decrypt with public key
zma4580 at gmail.com
Wed Nov 20 13:46:11 EST 2013
You cannot encrypt with the private key. You sign with the private key, and people can verify your signature through the corresponding public key.
Others can encrypt data with YOUR public key and as soon as you get the data you can decrypt with the corresponding private key.
Hope this helps
On Nov 20, 2013, at 1:29 PM, Dennis Weldy <dennis at correlatedmagnetics.com> wrote:
> Excuse me – I meant encrypt with the private key, decrypt with the public.
> From: Dennis Weldy
> Sent: Wednesday, November 20, 2013 12:12 PM
> To: 'botan-devel at randombit.net'
> Subject: Encrypt with public key, decrypt with private
> I’m trying to encrypt with a public key and decrypt with the private key. However, the decrypt class requires use of the private key.
> I plan to experiment with signing.
> botan-devel mailing list
> botan-devel at randombit.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the botan-devel