|
group2 0.1.0
CSE 125 Group 2
|
Small SHA-256 and HMAC-SHA256 helpers for relay-token signing. More...
#include <array>#include <cstddef>#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | net |
| namespace | net::crypto |
Typedefs | |
| using | net::crypto::Sha256Digest = std::array<std::uint8_t, 32> |
Functions | |
| Sha256Digest | net::crypto::sha256 (const void *data, std::size_t len) |
| Sha256Digest | net::crypto::hmacSha256 (const void *key, std::size_t keyLen, const void *data, std::size_t len) |
| bool | net::crypto::constantTimeEqual (const std::uint8_t *a, const std::uint8_t *b, std::size_t len) |
Small SHA-256 and HMAC-SHA256 helpers for relay-token signing.