#pragma once #include #include #define SHA256_DIGEST_LENGTH 32 namespace hash { void sha256(const uint8_t *data, uint64_t data_size, uint8_t *hash) noexcept; std::vector sha256(const std::vector &data) noexcept; }