feat(sha256, baseN): without overloading, just on vector

This commit is contained in:
2024-09-11 16:32:33 +03:00
parent 7ddb0b5397
commit f2d9318a45
6 changed files with 460 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#pragma once
#include <cstdint>
#include <vector>
#define SHA256_DIGEST_LENGTH 32
namespace hash {
std::vector<uint8_t> sha256(const std::vector<uint8_t> &data);
}