6 ms·
PHP 5.3 contains a native bcrypt implementation. http://php.net/manual/en/function.crypt.php http://php.net/manual/en/function.crypt.php
by mattyb 17y ago
PHP 5.3 contains a native bcrypt implementation.
http://php.net/manual/en/function.crypt.php http://php.net/manual/en/function.crypt.php
- jrockway 17y agoExcellent. Still a horrible API, though. (How do you control which algorithm will be used? How do you model "this password is the lack of a password"? Etc., etc.)
- mattyb 17y agoThe encryption type is triggered by the salt argument. So if you want Blowfish, you'll need to supply a sixteen-character salt. What exactly do you mean by "this password is the lack of a password"? Edit: is http://search.cpan.org/~zefram/Authen-Passphrase-0.006/lib/Authen/Passphrase/RejectAll.pm http://search.cpan.org/~zefram/Authen-Passphrase-0.006/lib/A... what you're talking about?