feat(sha256, baseN): without overloading, just on vector
This commit is contained in:
10
include/base/hash/sha256.hpp
Normal file
10
include/base/hash/sha256.hpp
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user