feat(hex): without overloading; fix(sha256): const uint8_t * -> uint8_t *
This commit is contained in:
@ -6,6 +6,6 @@
|
||||
#define SHA256_DIGEST_LENGTH 32
|
||||
|
||||
namespace hash {
|
||||
void sha256(const uint8_t *data, uint64_t data_size, const uint8_t *hash) noexcept;
|
||||
void sha256(const uint8_t *data, uint64_t data_size, uint8_t *hash) noexcept;
|
||||
std::vector<uint8_t> sha256(const std::vector<uint8_t> &data) noexcept;
|
||||
}
|
||||
Reference in New Issue
Block a user