How do I enable crypt_blowfish support for shadowed passwords and PHP on a Linux (Debian) server?
I'm referring to the OpenBSD-style Blowfish-based bcrypt, known in PHP as CRYPT_BLOWFISH.
As far as I know there is no Debian package for it, what other options do I have to enable this hashing algorithm for PHP?
Note:
PHP's crypt() fuction interfaces relatively directly with the C-library crypt(3) function provided by the underlying operating system.
Update
Package-naming is not as clear as it could (should) be.
The PEAR Crypt_Blowfish package is a drop-in replacement for PHP's MCrypt extension, allowing for quick two-way blowfish encryption.
Also the Debian BCrypt package is also an implementation of the 'normal' two-way blowfish algorithm.
What I'm looking for is the Bcrypt-hash implementation for hashing passwords.