Class AEAD

Class Documentation

class AEAD

Public Functions

std::string Encrypt(std::string &noncestr, const std::string &plaintxt)
std::string Decrypt(const std::string &nonce, const std::string &hexenc)
std::string EncryptAndPack(const std::string &plaintxt)
std::string UnpackAndDecrypt(const std::string &aead_json)
AEAD(PSK &key, const std::string &algo = "AES-256/GCM")
~AEAD() = default