include/mtxclient/crypto/utils.hpp file

Various crypto functions.

Namespaces

namespace mtx
Top level namespace for mtxclient.
namespace mtx::crypto
Cryptography related types.

Classes

class mtx::crypto::crypto_exception
Exception thrown for various encryption related errors (not reported by olm), that generally should not be ignored.
struct mtx::crypto::HkdfKeys
HKDF key derivation with SHA256 digest.
struct mtx::crypto::CURVE25519_AES_SHA2_Encrypted
Base64 encoded CURVE25519_AES_SHA2 encrypted text, including the mac and ephemeral key.