add hashing utilities