]> git.codecow.com Git - Monocypher.git/commitdiff
Poly1305 keys are 32 _bytes_!
authorMichael Savage <mikejsavage@gmail.com>
Wed, 6 Dec 2017 23:42:14 +0000 (01:42 +0200)
committerMichael Savage <mikejsavage@gmail.com>
Wed, 6 Dec 2017 23:42:14 +0000 (01:42 +0200)
doc/man/man3/crypto_poly1305.3monocypher

index e1882bdb018d1aec6732c353fb0bcb594ce98d2b..a05de2814cf66686e02054e4628fa6276d890a32 100644 (file)
@@ -167,7 +167,7 @@ To get this right, you need a session key, a
 nonce, and a
 stream cipher.
 Generate a stream with the session key and nonce.
-Take the first 32 bits of that stream as your authentication key, then
+Take the first 32 bytes of that stream as your authentication key, then
 use the
 .Em rest
 of the stream to encrypt your message.