fix(baseN, hex, sha256): added str_size argument

This commit is contained in:
2024-09-16 17:48:20 +03:00
parent 090e765a58
commit 66cd56fe95
6 changed files with 14 additions and 14 deletions

View File

@ -7,6 +7,6 @@
#define SHA256_DIGEST_LENGTH 32
namespace hash {
void sha256(const uint8_t *data, uint64_t data_size, uint8_t *hash) noexcept;
void sha256(const uint8_t *data, size_t data_size, uint8_t *hash) noexcept;
std::vector<uint8_t> sha256(std::span<const uint8_t> data) noexcept;
}