Skip to content
Erlang SipHash-2-4 NIF
Erlang C C++
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
c_src
src
test
.gitignore
LICENSE
Makefile
README.md
rebar
rebar.config

README.md

siphash-erlang

An Erlang NIF for SipHash-2-4

SipHash is a family of pseudorandom functions optimized for short inputs. Target applications include network traffic authentication and hash-table lookups protected against hash-flooding denial-of-service attacks. SipHash has well-defined security goals and competitive performance.

Usage

siphash:hash24(Key, Message) -> binary()
    Types:
        Key = binary()
        Message = binary()
    Returns a 8 byte binary, given a 16 byte key and an arbitrary long message.
You can’t perform that action at this time.