hashing algorithm completed