Separated hashing functions.
    Solved errors.