start writing the reveive part

This commit is contained in:
2023-01-15 20:46:09 +01:00
parent 3e0100efdf
commit c712afb7b2
7 changed files with 134 additions and 3 deletions

View File

@@ -10,8 +10,8 @@
struct SHA1Digest {
std::array<uint8_t, 20> data;
SHA1Digest(void) = default;
SHA1Digest(const std::vector<uint8_t>& v);
SHA1Digest(const uint8_t* d, size_t s);
bool operator==(const SHA1Digest& other) const { return data == other.data; }