siphash.h: SipHash-2-4

description

siphash.h implements SipHash-2-4, as described by Jean-Philippe Aumasson and Daniel J. Berstein. It's derived from their reference C implementation, and can be used by simply including the header.

siphash.h refactors the reference code to provide the common three method hash interface—sip24_init, sip24_update, and sip24_final. It also provides a convenience macro, siphash24, for digesting a fixed size message in a single call.

usage

See the source file for a description of the implementation and usage examples.

news

2012-11-04

Public release.

download

The code resides in a single header file: siphash.h.

other projects

airctl | bsdauth | cnippets | libarena | libevnet | authldap | streamlocal | libnostd | zoned | dns.c | delegate.c | llrb.h | lpegk | json.c | cqueues | siphash.h | hexdump.c | timeout.c | luapath | luaossl | lunix | phf | runlua | tarsum | prosody-openbsd | AnonNet