Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

sip-hash

A Common Lisp implementation of SipHash, a cryptographically strong family of hash functions designed by Jean-Philippe Aumasson and Daniel J. Bernstein.

For more information see the SipHash web site and the SipHash reference implementation.

The sip-hash API

hash-64-2-4 octets k0 k1 &key (start 0) (end (length octets))

Returns as an (unsigned-byte 64) the 64-bit SipHash-2-4 hash code for
positions START through END of OCTETS, using the initial state stored in K0
and K1.

hash-64-4-8 octets k0 k1 &key (start 0) (end (length octets))

Returns as an (unsigned-byte 64) the 64-bit SipHash-4-8 hash code for
positions START through END of OCTETS, using the initial state stored in K0
and K1.

hash-128-2-4 octets k0 k1 &key (start 0) (end (length octets))

Returns as two (unsigned-byte 64) values the 128-bit SipHash-2-4 hash code
for positions START through END of OCTETS, using the initial state stored
in K0 and K1.

hash-128-4-8 octets k0 k1 &key (start 0) (end (length octets))

Returns as two (unsigned-byte 64) values the 128-bit SipHash-4-8 hash code
for positions START through END of OCTETS, using the initial state stored
in K0 and K1.

About

Common Lisp implementation of the SipHash family of cryptographically secure hash functions.

Resources

Releases

No releases published

Packages

No packages published