an injectable wrapper for the password_* functions released in PHP >= 5.5