rosegaar/phpass

便携式 PHP 密码散列框架

1.0.1 2021-09-10 14:22 UTC

This package is not auto-updated.

Last update: 2024-09-21 23:17:50 UTC


README

GitHub tag (latest SemVer) License: MIT

由 Solar Designer 在 2004-2006 年编写,并置于公共领域。后续年份进行了修订,仍为公共领域。

绝对没有任何保证。

此框架的主页网址为:http://www.openwall.com/phpass/

安装

composer require rosegaar/phpass

使用方法

use Rosegaar\PHPass\PHPass;

$hasher = new PHPass(8, true);
$password = $hasher->HashPassword('password');