From 93ffb97f6053dd67e763f92b4e167448ca25160c Mon Sep 17 00:00:00 2001 From: Michael Savage Date: Thu, 7 Dec 2017 01:42:14 +0200 Subject: [PATCH] Poly1305 keys are 32 _bytes_! --- doc/man/man3/crypto_poly1305.3monocypher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.47.3