crypto_shorthash()
function, which outputs short but unpredictable (without knowing the secret key) values suitable for picking a list in a hash table for a given key.crypto_shorthash_BYTES
bytes) fingerprint for the message in
whose length is inlen
bytes, using the key k
.k
is crypto_shorthash_KEYBYTES
bytes and can be created using crypto_shorthash_keygen()
.crypto_shorthash_BYTES
crypto_shorthash_KEYBYTES
[0..N)
can be done efficiently without modulo reduction.crypto_shorthash_siphashx24()
.