[EMAIL PROTECTED] writes:

> BTW, can anyone tell me how to encipher a short string with a *private* key

Look at the Rabin and RW tests in validate2.cpp (only Crypto++ version
5.1).  For these algorithms, the size of the signature from which one
can recover a message is

        min { m + 2h + 16 , k } bits

where m = message bits, h = hash bits, and k = key size in bits.  So if
you want very small signatures, you need to use small keys and small
hash functions.
-- 
                                                      Jens Peter Secher
 _jpsecher get2net dk DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1_

Reply via email to