BLAKE2b nagłówek zakomentowane

This commit is contained in:
yanczi 2025-11-22 17:02:15 +01:00
parent bfb1bf5f61
commit 60455676a2

View file

@ -45,6 +45,10 @@ public:
void saveKey(const std::string&, bool); void saveKey(const std::string&, bool);
void loadKey(const std::string&); void loadKey(const std::string&);
// Generowanie hash BLAKE2b
//static std::array<char, 16> hashBlake(const std::vector<char>&);
//static bool compareBlake(const std::vector<char>&, const std::array<char, 16>&);
private: private:
std::array<unsigned char, crypto_stream_chacha20_ietf_KEYBYTES> key{}; std::array<unsigned char, crypto_stream_chacha20_ietf_KEYBYTES> key{};
bool keyReady; bool keyReady;