Skip to content

Commit cf87d4d

Browse files
committed
wording
1 parent d4ff70e commit cf87d4d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
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

1925
You 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

4446
Author: Remi Collet
4547

4648
This extension is licensed under [The PHP License, version 3.01](http://www.php.net/license/3_01.txt)
4749

48-
-----
49-
5050
# History
5151

5252
Created on user request

0 commit comments

Comments
 (0)