Password hashing and verification library