File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 11# xpass extension for PHP
22
3- This extension provides password hashing algorithms used in Linux distributions.
3+ This extension provides password hashing algorithms used by Linux distributions.
44
55* ** sha512** (` $6$ ` ) provided for legacy as used on some old distributions (ex: RHEL-8)
66* ** yescrypt** (` $y$ ` ) used on modern distributions
77
8- ----
8+ Notices: these are fast, don't expect high security level.
9+
10+ ** Computation time**
11+
12+ * bcrypt: 0.33"
13+ * argon2i: 0.53"
14+ * argon2id: 0.55"
15+ * sha512: 0.01"
16+ * yescrypt: 0,08"
917
1018# Sources
1119
1220* Official git repository: https://git.remirepo.net/cgit/tools/php-xpass.git/
1321* Mirror on github for contributors: https://github.com/remicollet/php-xpass
1422
15- ----
16-
1723# Build
1824
1925You need the Extended crypt library development files (libxcrypt-devel)
@@ -25,28 +31,22 @@ From the sources tree
2531 $ make
2632 $ make test
2733
28- ----
29-
3034# Usage
3135
32- ## password hashing
36+ ## password hashing and verifying
3337
3438 $ php -a
3539 php > var_dump($hash = password_hash("secret", PASSWORD_YESCRYPT));
3640 string(73) "$y$j9T$X9Va6i3zHjyKGJAskYZPv.$i1m/WR1C6/tqhB7IdOsi9Ar1JF4Qr38vBx104ao1OS5"
3741 php > var_dump(password_verify("secret", $hash));
3842 bool(true)
3943
40- ----
41-
4244# LICENSE
4345
4446Author: Remi Collet
4547
4648This extension is licensed under [ The PHP License, version 3.01] ( http://www.php.net/license/3_01.txt )
4749
48- -----
49-
5050# History
5151
5252Created on user request
You can’t perform that action at this time.
0 commit comments