Module sodiumoxide::crypto::shorthash::siphash24[][src]

Expand description

SipHash-2-4

Structs

Digest

Digest structure

Key

Key

Constants

DIGESTBYTES

Number of bytes in a Digest.

KEYBYTES

Number of bytes in a Key.

Functions

gen_key

gen_key() randomly generates a key for shorthash

shorthash

shorthash hashes a message m under a key k. It returns a hash h.