Am 14.11.2015 um 08:42 schrieb Atton Mathews:
>
>
> On Thursday, 12 November 2015 01:28:24 UTC+10:30, Catherine wrote:
>
>     On Wednesday, November 11, 2015 at 1:20:07 PM UTC+3, Atton Mathews
>     wrote:
>
>         It also might be worth noting that the encoded output changes
>         every time the program runs.
>
>
>
>     |
>
>     
> AutoSeededRandomPoolrnd;RSA::PrivateKeyrsaPrivate;rsaPrivate.GenerateRandomWithKeySize(rnd,3072);RSA::PublicKeyrsaPublic(rsaPrivate);
>
>     |
>      Well, what did you expect?
>
> I kinda expected it to work but then again I am rather unfamiliar with
> it. 
I'm not sure if you know what it is doing, so I'll quickly explain it:
It will first instantiate and seed a random-number generator named rnd,
it'll then use this RNG to generate a new RSA private key of size 3072
bits and will finally put the public part of the key into rsapublic.
This means it will always output different public keys on each run if
you always use this code segment. and BTW I couldn't reproduce your
problem on my end (using VS2015 + Crypto++ 5.6.3rc6). BR JPM
> -- -- You received this message because you are subscribed to the
> "Crypto++ Users" Google Group. To unsubscribe, send an email to
> cryptopp-users-unsubscr...@googlegroups.com. More information about
> Crypto++ and this group is available at http://www.cryptopp.com. ---
> You received this message because you are subscribed to the Google
> Groups "Crypto++ Users" group. To unsubscribe from this group and stop
> receiving emails from it, send an email to
> cryptopp-users+unsubscr...@googlegroups.com
> <mailto:cryptopp-users+unsubscr...@googlegroups.com>. For more
> options, visit https://groups.google.com/d/optout. 

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to