Added boost::diagnostic_information to log messages.
Unified handling of CryptoPP::RandomNumberGenerator across rsa.cc and crypto.cc.