hi,all

  how to encrypt with rsa no padding?

  i have find it in mail-list,but can someone give me some examples
about how to use RSAFunction?

  btw, when i use RSAES_OAEP_SHA_Encryptor, the code below works well,

        RSAES_OAEP_SHA_Encryptor pub(StringSource(pubkey,true,new
HexDecoder));
        RandomPool randPool;
        randPool.Put((byte *)seed, strlen(seed));

        string result;
        StringSource(message, true, new PK_EncryptorFilter(randPool, pub, new
HexEncoder(new StringSink(result))));

  what does RandomPool used for? can i decrypt without RandomPool?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to