Skip to content
Snippets Groups Projects
Commit 99f8d21e authored by akwizgran's avatar akwizgran
Browse files

Fixed a typo.

parent 6a4aea77
No related branches found
No related tags found
No related merge requests found
......@@ -310,7 +310,7 @@ class CryptoComponentImpl implements CryptoComponent {
throw new IllegalArgumentException();
// Initialise the PRF
Digest prf = new Blake2sDigest(tagKey.getBytes());
// The output of the PRF must be long enough to use as a key
// The output of the PRF must be long enough to use as a tag
int macLength = prf.getDigestSize();
if (macLength < TAG_LENGTH) throw new IllegalStateException();
// The input is the stream number as a 64-bit integer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment