Use PHP 5.5's new password_* functions (or fall back on Anthony Ferrara's password_compat).