|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
HMAC-SHA256 with the key schedule precomputed (see the header comment). More...
#include <fastmm/net/crypto.hpp>
Public Member Functions | |
| HmacSha256Key () noexcept | |
| HmacSha256Key (std::string_view key) noexcept | |
| void | sign (std::string_view data, std::span< std::uint8_t, kSha256Size > out) const noexcept |
| HexSha256 | sign_hex (std::string_view data) const noexcept |
Static Public Attributes | |
| static constexpr std::size_t | kCtxBytes = 128 |
| Opaque storage for one OpenSSL SHA256_CTX (112 bytes; checked in crypto.cpp). | |
HMAC-SHA256 with the key schedule precomputed (see the header comment).
Copyable; a default-constructed key signs with the empty key.
|
inlinenoexcept |
|
explicitnoexcept |
|
noexcept |
|
noexcept |
|
staticconstexpr |
Opaque storage for one OpenSSL SHA256_CTX (112 bytes; checked in crypto.cpp).