-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace RAND_bytes() with fillFromSecureRng(); FixedBuffer::operator[]
With this commit, fillFromSecureRng becomes a common way to fill up a buffer with (truly, if possible) random data. QByteArray-friendly overload can be made later if necessary. Also: add operator[] to FixedBufferBase and FixedBuffer.
- Loading branch information
Alexey Rusakov
committed
Dec 17, 2023
1 parent
3c33dc8
commit 6e38fe8
Showing
3 changed files
with
85 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters