Hi all.

How can I check is my RSA encryptor initialized? When the programm tries to 
encrypt something via uninnitialize encryptor, I have exception "divide by 
zero". 

Can I write something like this before encryption:

*If (m_encryptor != 0)*
*      CryptoPP::StringSource(message_str, true, new 
CryptoPP::StreamTransformationFilter(m_encryptor, new 
CryptoPP::StringSink(result_str)));*

I know, thet it isn't correct code, but what is another way to check 
encryptor?


-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/cryptopp-users/99827327-ac32-49f8-a824-ea69657817b5%40googlegroups.com.

Reply via email to