rename: libbase -> libbasen

This commit is contained in:
2024-09-20 18:29:17 +03:00
parent 4e166d24cf
commit d0ef8a5cb2
19 changed files with 27 additions and 27 deletions

View File

@ -0,0 +1,12 @@
#pragma once
#include <cstdint>
#include <span>
#include <vector>
#define SHA256_DIGEST_LENGTH 32
namespace hash {
void sha256(const uint8_t *data, uint64_t data_size, uint8_t *hash) noexcept;
std::vector<uint8_t> sha256(std::span<const uint8_t> data) noexcept;
}