[botan-devel] Encrypt with private key, decrypt with public key

Zack Allen 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.
> Dennis
> 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
> Hello,
>                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.
> Dennis
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://lists.randombit.net/mailman/listinfo/botan-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20131120/42147501/attachment.html>

More information about the botan-devel mailing list