![]() |
MantisBase v0.4.9
|
Cryptographic helpers for OAuth PKCE, API keys, and token encryption. More...


Go to the source code of this file.
Namespaces | |
| namespace | mb |
Functions | |
| MANTISBASE_API bool | mb::initWolfSsl () |
| MANTISBASE_API std::string | mb::generateSecureRandom (size_t length) |
| MANTISBASE_API std::string | mb::sha256Hex (const std::string &input) |
| MANTISBASE_API std::string | mb::base64UrlEncode (const std::vector< uint8_t > &data) |
| MANTISBASE_API std::string | mb::base64UrlEncode (const std::string &data) |
| MANTISBASE_API std::vector< uint8_t > | mb::base64UrlDecode (const std::string &encoded) |
| MANTISBASE_API std::string | mb::generatePKCEVerifier (size_t length=43) |
| MANTISBASE_API std::string | mb::generatePKCEChallenge (const std::string &verifier) |
| MANTISBASE_API std::string | mb::aes256GcmEncrypt (const std::string &plaintext, const std::string &key) |
| MANTISBASE_API std::string | mb::aes256GcmDecrypt (const std::string &ciphertext, const std::string &key) |
Cryptographic helpers for OAuth PKCE, API keys, and token encryption.
Wraps WolfSSL-backed primitives used by MbOAuthMgr and related auth flows.