mono-hash 0.1.0.0 → 0.1.0.1
raw patch · 5 files changed
+28/−5 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−0
- mono-hash.cabal +2/−2
- src/Data/Hash/Mono/FNV.hs +6/−1
- src/Data/Hash/Mono/HalfSipHash.hs +9/−1
- src/Data/Hash/Mono/SipHash.hs +6/−1
CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for mono-hash +## 0.1.0.1 -- 2026-10-25++* Documentation: credit the authors of FNV and SipHash/HalfSipHash.+* Add the "Hash" category to the package's cabal file+ ## 0.1.0.0 -- 2026-10-25 * First release.
mono-hash.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: mono-hash-version: 0.1.0.0+version: 0.1.0.1 synopsis: Hashing for monomorphic containers. description: FNV, SipHash, and HalfSipHash hashing for monomorphic containers.@@ -8,7 +8,7 @@ license-file: LICENSE author: Philipp Hagenlocher maintainer: me@philipphagenlocher.de-category: Data+category: Data, Hash build-type: Simple homepage: https://github.com/phagenlocher/mono-hash#readme bug-reports: https://github.com/phagenlocher/mono-hash/issues
src/Data/Hash/Mono/FNV.hs view
@@ -1,6 +1,11 @@ {-# LANGUAGE BangPatterns #-} --- | FNV-1 and FNV-1a hashes for any 'MonoFoldable' container.+{- | FNV-1 and FNV-1a hashes for any 'MonoFoldable' container.++Designed by Glenn Fowler, Landon Curt Noll, and Kiem-Phong Vo, after whom+the hash is named. See the+<https://datatracker.ietf.org/doc/html/draft-eastlake-fnv-17 FNV specification>.+-} module Data.Hash.Mono.FNV ( FNVData, FNVResult,
src/Data/Hash/Mono/HalfSipHash.hs view
@@ -3,7 +3,15 @@ {-# LANGUAGE StrictData #-} {-# LANGUAGE TypeApplications #-} --- | HalfSipHash-@c@-@d@ for any 'MonoFoldable' container.+{- | HalfSipHash-@c@-@d@ for any 'MonoFoldable' container.++HalfSipHash is the 32-bit-word variant of SipHash, a PRF family designed by+Jean-Philippe Aumasson and Daniel J. Bernstein. HalfSipHash itself is not+described in the SipHash paper; see+<https://eprint.iacr.org/2012/351 SipHash: a fast short-input PRF> for the+design and the <https://github.com/veorq/SipHash reference implementation>+for the variants.+-} module Data.Hash.Mono.HalfSipHash ( HalfSipHashData, HalfSipHashResult,
src/Data/Hash/Mono/SipHash.hs view
@@ -3,7 +3,12 @@ {-# LANGUAGE StrictData #-} {-# LANGUAGE TypeApplications #-} --- | SipHash-@c@-@d@ for any 'MonoFoldable' container.+{- | SipHash-@c@-@d@ for any 'MonoFoldable' container.++Designed by Jean-Philippe Aumasson and Daniel J. Bernstein. See+<https://eprint.iacr.org/2012/351 SipHash: a fast short-input PRF> and the+<https://github.com/veorq/SipHash reference implementation>.+-} module Data.Hash.Mono.SipHash ( SipHashData, SipHashResult,