26 #include <olp/authentication/AuthenticationApi.h>
29 namespace authentication {
35 static const size_t Sha256DigestLength = 32;
38 using Sha256Digest = std::array<unsigned char, Sha256DigestLength>;
59 const std::string& message);
The cryptographic algoritms used by the library.
Definition: Crypto.h:32
std::array< unsigned char, Sha256DigestLength > Sha256Digest
An alias for the hash.
Definition: Crypto.h:38
static Sha256Digest Sha256(const std::vector< unsigned char > &content)
Sha256 cryptographic function used to compute the hash value for a buffer.
static Sha256Digest HmacSha256(const std::string &key, const std::string &message)
HMAC function based on SHA-256 hash function.
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24