|
OpenCBDC Transaction Processor
|
#include "crypto/siphash.h"#include <array>#include <sstream>

Go to the source code of this file.
Namespaces | |
| namespace | cbdc |
Typedefs | |
| using | cbdc::hash_t = std::array<unsigned char, cbdc::hash_size> |
| SHA256 hash container. | |
Functions | |
| auto | cbdc::to_string (const hash_t &val) -> std::string |
| Converts a hash to a hexadecimal string. | |
| auto | cbdc::hash_from_hex (const std::string &val) -> hash_t |
| Parses a hexadecimal representation of a hash. | |
| auto | cbdc::hash_data (const std::byte *data, size_t len) -> hash_t |
| Calculates the SHA256 hash of the specified data. | |