Added utility for password hashing