hashes.elf

Functions

elf_hash(→ int)

Implementation of ElfHash Algorithm, a variant of PJW hash function.

Module Contents

hashes.elf.elf_hash(data: str) int

Implementation of ElfHash Algorithm, a variant of PJW hash function.

>>> elf_hash('lorem ipsum')
253956621