Fixed password hashing for creating private key from password