Moved hashing functionalities to pts object