fix(rename, submodule): libbase -> libbasen, aur.archlinux.org submodule removed

This commit is contained in:
2024-09-20 19:03:26 +03:00
parent 4e166d24cf
commit 4b7f01dcf6
20 changed files with 26 additions and 30 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;
}