Library siphash

To use this library in your code:

import crypto.siphash
SipHash

Classes

SipHash state.

Functions

siphash data/Data key/ByteArray --output-length/int=16 --c-rounds/int=2 --d-rounds/int=4 from/int=0 to/int=data.byte-size -> ByteArray
Calculates the SipHash of the given data.
The data must be a string or a byte array.
The key must be a 16 element byte array.
The output-length must be 8 or 16 bytes.