27 #ifndef Common_Crypto_h
28 #define Common_Crypto_h
47 static const string rsa_encrypt(
const char *public_key,
const string &message);
53 static const string rsa_decrypt(
const char *private_key,
const string &message);
60 static const string rsa_signature_encrypt(
const char *key,
62 const string &message);
69 static const string rsa_signature_decrypt(
const char *key,
71 const string &signature);
78 #endif // Common_Crypto_h
Provides cryptographic functions.