poly1305

The Poly1305 message authentication code (docs.ppad.tech/poly1305).
git clone git://git.ppad.tech/poly1305.git
Log | Files | Refs | README | LICENSE

commit 2f5fbdd6f748ffd0d88d66e33360e4d67a426614
parent 21be7b8655da65e8da88fa89ad155b5d91bf5885
Author: Jared Tobin <jared@jtobin.io>
Date:   Wed, 11 Jun 2025 12:13:08 +0400

lib: comment fix

Diffstat:
Mlib/Crypto/MAC/Poly1305.hs | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/Crypto/MAC/Poly1305.hs b/lib/Crypto/MAC/Poly1305.hs @@ -64,8 +64,7 @@ clamp r = r .&. 0x0ffffffc0ffffffc0ffffffc0fffffff -- Per RFC8439: the key, which is essentially a /one-time/ key, should -- be unique, and MUST be unpredictable for each invocation. -- --- The key must be exactly 256 bits in length. Providing an invalid --- key will cause the function to throw an ErrorCall exception. +-- The key must be exactly 256 bits in length. -- -- >>> mac "i'll never use this key again!!!" "a message needing authentication" -- Just "O'\231Z\224\149\148\246\203[}\210\203\b\200\207"