add compability function for password_hash