Compatibility with the password_* functions on PHP