prototyping password hashing