1.2.1587. ext/scrypt¶
This is a PHP library providing a wrapper to Colin Percival’s scrypt implementation. Scrypt is a key derivation function designed to be far more secure against hardware brute-force attacks than alternative functions such as PBKDF2 or bcrypt.
<?php
echo scrypt("", "", 16, 1, 1, 64) . "\n";
echo scrypt("password", "NaCl", 1024, 8, 16, 64) . "\n";
?>
See also scrypt <http://www.tarsnap.com/scrypt.html> and PHP scrypt module <https://github.com/DomBlack/php-scrypt>.
1.2.1587.1. Connex PHP features¶
1.2.1587.1.1. Specs¶
Short name |
Extensions/Extscrypt |
Rulesets |
|
Exakat since |
2.4.7 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Available in |