On Apr 1, 8:34 am, TSG <[email protected]> wrote:
> dear all,
>
> can u help me in this:
> Tried to send a key of a SecByteBlock as a string and then recived in
> the othe part as string then need to be regained to SecByteBlock
>
> AutoSeededRandomPool prng;
> SecByteBlock key(IDEA::DEFAULT_KEYLENGTH);
> prng.GenerateBlock(key, key.size());
> byte iv[IDEA::BLOCKSIZE];
> prng.GenerateBlock(iv, sizeof(iv));
> string s0=string((char *)key.begin(),16);  // Key converted as string.
>
> How can i regain the key with SecByteBlock from a string s0.??
> in other words: How can i convert a string s0 to SecByteBlock
> parameter...???
>
http://www.cryptopp.com/docs/ref/class_sec_block.html

-- 
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