You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
Rewriting the description, the first line of the header block states:
Generates a 16-byte nonce with additional data.
but close to the top of the function, we see:
byte[] bytes = new byte[24];
mRandom.nextBytes(bytes);
try {
byteStream.write(bytes);
so that the nonce is always at least 24 bytes, plus whatever additional data comes in as a parameter. Is the return value meant to be the SHA256 of byteStream? Where is the number "16-byte" coming from?
The text was updated successfully, but these errors were encountered:
Rewriting the description, the first line of the header block states:
Generates a 16-byte nonce with additional data.
but close to the top of the function, we see:
byte[] bytes = new byte[24];
mRandom.nextBytes(bytes);
try {
byteStream.write(bytes);
so that the nonce is always at least 24 bytes, plus whatever additional data comes in as a parameter. Is the return value meant to be the SHA256 of byteStream? Where is the number "16-byte" coming from?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Rewriting the description, the first line of the header block states:
but close to the top of the function, we see:
so that the nonce is always at least 24 bytes, plus whatever additional
data
comes in as a parameter. Is the return value meant to be the SHA256 ofbyteStream
? Where is the number "16-byte" coming from?The text was updated successfully, but these errors were encountered: