mirror of
https://github.com/luxfi/crypto.git
synced 2026-07-27 01:54:50 +00:00
blake3: pure-Go body wrapping zeebo/blake3 (already in go.mod). Three modes (hash/keyed/derive_key) plus XOF. KAT against the official BLAKE3 test_vectors.json (35 input lengths from 0 to 102400 bytes, 4 modes each = 140 byte-equal assertions). poseidon: extended Sum2 wrapper with Permutation2 (raw t=2 permutation) and Compress2 (gnark-crypto Compress contract). KAT vectors generated from gnark-crypto v0.20.1 (default params t=2, rF=6, rP=50, d=5) for 16 permutation cases. Both layers assert byte-equal to the published spec, no oracle indirection.