From: Michael Savage Date: Wed, 6 Dec 2017 23:42:14 +0000 (+0200) Subject: Poly1305 keys are 32 _bytes_! X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=93ffb97f6053dd67e763f92b4e167448ca25160c;p=Monocypher.git Poly1305 keys are 32 _bytes_! --- diff --git a/doc/man/man3/crypto_poly1305.3monocypher b/doc/man/man3/crypto_poly1305.3monocypher index e1882bd..a05de28 100644 --- a/doc/man/man3/crypto_poly1305.3monocypher +++ b/doc/man/man3/crypto_poly1305.3monocypher @@ -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.