traveler.core.hashing#

Functions#

alphanum_hash(inputs, *args[, length])

Hashes a string to an alphanumeric string.

hex_hash(inputs, *args[, length])

Hashes a string to a hexadecimal string.

make_prng_keys(reference, *seed)

Generates a pseudo-random number generator (PRNG) key from a string.

prng_subkey(prng_keys, *args)

Generates a subkey from an array of base PRNG keys using a reproducible hash.

rehash(on_table, *args)

Rehash a table's random key by folding in additional values.

reproducible_hash(inputs, *args)

Hashes a string to a reproducible integer using SHA-256.

stable_hash(inputs, *args)

Generates a stable hash for the given inputs.