Nonce jest częścią chunka danych
This commit is contained in:
parent
58c3870c53
commit
855f079bf7
2 changed files with 30 additions and 35 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue