Nonce jest częścią chunka danych

This commit is contained in:
yanczi 2025-11-19 20:07:59 +01:00
parent 58c3870c53
commit 855f079bf7
2 changed files with 30 additions and 35 deletions

View file

@ -28,7 +28,6 @@ public:
private:
std::array<unsigned char, crypto_stream_chacha20_ietf_KEYBYTES> key{};
std::array<unsigned char, crypto_stream_chacha20_ietf_NONCEBYTES> nonce{};
bool keyReady;
void generateKeys();