Password verification and hashing to key works