Implemented SHA-1 password hashing.