mirror of
https://github.com/luxfi/crypto.git
synced 2026-07-27 01:54:50 +00:00
The package is Keccak-256 only (Size=32, all Sum* functions return [32]byte). Naming it 'keccak' was misleading — Keccak is a family (256/384/512). Now matches the secp256k1 precision pattern. Function renames drop redundant '256' suffix: Sum256 → Sum Sum256Hex → SumHex Sum256Batch → SumBatch Call sites read: import "github.com/luxfi/crypto/keccak256" h := keccak256.Sum(data)