[Botan-devel] Thanks, minor issues & questions on RSA sign/verify padding, binary size

Paul Clark paul at packetship.com
Tue Oct 13 05:15:14 EDT 2009


Paul Clark wrote:
>  Unfortunately when we first created the system we did it with SHA1 
> and RSA primitives ('encrypting' hash with public key, 'decrypting' 
> with private key and comparing with actual hash) rather than proper 
> sign/verify operations...

Doh!  This is the wrong way round.  Of course we 'encrypt' (sign) with 
private key and 'decrypt' (verify) with the public key, as in the code.

Paul




More information about the botan-devel mailing list