Skip to content

adgear/siphash-erlang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Erlang SipHash-2-4 NIF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 72.6%
  • C 19.5%
  • Makefile 7.9%