Extended password extension
This extension provides password hashing algorithms used by Linux
distributions, using extended crypt library (libxcrypt):
* sha512 provided for legacy as used on some old distributions
* yescrypt used on modern distributions
* sm3crypt
* sm3yescrypt
It also provides additional functions from libxcrypt missing in core PHP:
* crypt_preferred_method
* crypt_gensalt
* crypt_checksalt
See PHP documentation on https://www.php.net/xpass
License: PHP-3.01
| Version | Release | Download |
| 1.2.1 | 2026-04-17 | xpass-1.2.1.tgz |
| 1.2.0 | 2026-01-13 | xpass-1.2.0.tgz |
| 1.1.0 | 2024-09-26 | xpass-1.1.0.tgz |
| 1.1.0RC1 | 2024-09-13 | xpass-1.1.0RC1.tgz |
| 1.0.0 | 2024-09-09 | xpass-1.0.0.tgz |
| Version | Message |
| 1.2.1 |
- improve algo availability check - update PHP License from version 3 to version 4 (BSD-3-Clause) - add --with-xpass-dlopen to workaround conflict with MUSL library |
| 1.2.0 |
- add SM3 hash algos available in libxcrypt 4.5 - add CRYPT_PREFIX_SM3CRYPT and CRYPT_PREFIX_SM3_YESCRYPT constants - add PASSWORD_SM3CRYPT and PASSWORD_SM3_YESCRYPT constants |
| 1.1.0 |
- add crypt_gensalt(?string $prefix = null, int $count = 0): ?string {} - add crypt_preferred_method(): ?string {} - add crypt_checksalt(string $salt): int {} - add CRYPT_PREFIX_* and CRYPT_SALT_* constants |
| 1.1.0RC1 |
- add crypt_gensalt(?string $prefix = null, int $count = 0): ?string {} - add crypt_preferred_method(): ?string {} - add crypt_checksalt(string $salt): int {} - add CRYPT_PREFIX_* and CRYPT_SALT_* constants |
| 1.0.0 | - first GA release |