moved hashing algorithm to custom.py