poly1305

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

commit e706cf1e9bd9755c6bd05b83291a336d36897847
parent 4d0a8a273e2e5524d17ef6ee4e70f9a526381d16
Author: Jared Tobin <jared@jtobin.io>
Date:   Sat, 16 May 2026 13:18:54 -0230

misc: s/pure/fast

Diffstat:
MREADME.md | 4++--
Mflake.nix | 2+-
Mppad-poly1305.cabal | 4++--
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md @@ -4,7 +4,7 @@ ![](https://img.shields.io/badge/license-MIT-brightgreen) [![](https://img.shields.io/badge/haddock-poly1305-lightblue)](https://docs.ppad.tech/poly1305) -A pure Haskell implementation of the Poly1305 message authentication +A fast Haskell implementation of the Poly1305 message authentication code as specified by [RFC8439][8439]. ## Usage @@ -31,7 +31,7 @@ Haddocks (API documentation, etc.) are hosted at ## Performance -The aim is best-in-class performance for pure Haskell code. +The aim is best-in-class performance. Current benchmark figures on the simple "sunscreen input" from RFC8439 on an M4 Silicon MacBook Air look like (use `cabal bench` to run the diff --git a/flake.nix b/flake.nix @@ -1,5 +1,5 @@ { - description = "A pure Haskell Poly1305 message authentication code."; + description = "A fast Haskell Poly1305 message authentication code."; inputs = { ppad-base16 = { diff --git a/ppad-poly1305.cabal b/ppad-poly1305.cabal @@ -1,7 +1,7 @@ cabal-version: 3.0 name: ppad-poly1305 version: 0.4.1 -synopsis: A pure Poly1305 MAC +synopsis: A fast Poly1305 MAC license: MIT license-file: LICENSE author: Jared Tobin @@ -11,7 +11,7 @@ build-type: Simple tested-with: GHC == 9.10.3 extra-doc-files: CHANGELOG description: - A pure Poly1305 message authentication code, per + A fast Poly1305 message authentication code, per [RFC8439](https://datatracker.ietf.org/doc/html/rfc8439). flag llvm