SipHash
Usage
use SipHash;
or
import SipHash;
- param cROUNDS = 2
- param dROUNDS = 4
- const shLogger = new Logger(logLevel, logChannel)
- proc sipHash64(msg: [] ?t, D) : uint(64) where t == uint(8) || t == int(64) || t == real(64)
- proc sipHash128(ref msg: [] ?t, D) : 2*(uint(64)) where t == uint(8) || t == int(64) || t == real(64)
- proc sipHash64(in val) : uint(64)
Compute hash of a single value
- proc sipHash128(in val) : 2*(uint(64))