diff options
Diffstat (limited to 'envelope.h')
-rw-r--r-- | envelope.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,9 +5,9 @@ namespace Envelope{ - std::string encrypt(const std::string &data,const RSA::PublicKey &pubkey); + std::string encrypt(const std::string &data,const RSA::Key &pubkey); //throws invalid_argument for an invalid ciphertext (length invalid) - std::string decrypt(const std::string &data,const RSA::PrivateKey &privkey); + std::string decrypt(const std::string &data,const RSA::Key &privkey); } |