traveler.core.hashing.alphanum_hash#
- traveler.core.hashing.alphanum_hash(inputs, *args, length=20)[source]#
Hashes a string to an alphanumeric string.
- Parameters:
inputs (str or list[str]) – The string to hash.
length (int, optional) – The length of the resulting alphanumeric string, by default 20.
- Returns:
An alphanumeric string representing the hash of the input.
- Return type:
str