Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid nonce reuse for large payloads
due to using a counter size of 32bits in the stream cipher, only up to 256TB may be encrypted before a nonce reuse would occur. This solution checks if the counter has reached the limit on every increment. This _may_ add overhead or _may_ be free on some engines and I haven't benchmarked it
- Loading branch information