Implemented password hashing.