Hi Nick,
> rand_num_gen.GenerateBlock(plainstring, size);
> ...
> s_globalRNG.GenerateBlock((byte *)plainstring, size);
What is plainstring? if its a std::string, resize it first then get a
pointer to byte[0]:
plainstring.resize(size);
s_globalRNG.GenerateBlock((byte *)plainstring.data(), plainstring.size());
Jeff
> --
> You received this message because you are subscribed to the "Crypto++ Users"
> Google Group.
> To unsubscribe, send an email to
>
cryptopp-user...@googlegroups.com.
> More information about Crypto++ and this group is available at
>
http://www.cryptopp.com.