Hi,

There is a great FAQ, where you can find good hints for your first steps 
http://www.eskimo.com/~weidai/cgi-bin/fom-serve/cache/1.html . If that wont 
help, look in the example code for the test.cpp, there you should find 
everything you need. 


 Meike 


-----Urspr�ngliche Nachricht-----
Von: cncr04s [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 15. April 2005 09:00
An: [email protected]
Betreff: help with rsa

hi, i have found this cryptopp, and it looks nice. i cant find any thing like 
it. however, theres bad documentation, and no code samples, well, there is, but 
for only like 2 algorithms. from what ive been able to figure out , i can only 
generate an rsa key pair, but as for encrypt/ decrypt, i dont see those defined 
in the rsa.h, and i have no clue as to what function there is to 
encrypt/decrypt with.
this is all i can come up with

AutoSeededRandomPool rng1;
RSA::PrivateKey prv;
RSA::PublicKey prp;
prv.GenerateRandomWithKeySize(rng1,2048);//1024//2048//4096//8192
prp.AssignFrom(prv);


Reply via email to