kuyoto / scrypt
Provides the scrypt key derivation function.
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 2
pkg:composer/kuyoto/scrypt
Requires
- php: ^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16.3
- phpunit/phpunit: ^6.5.8
This package is auto-updated.
Last update: 2025-09-25 10:47:57 UTC
README
This package provides the scrypt
key derivation function.
Installation
composer require kuyoto/scrypt
Usage
To derivate a key, use the following method:
echo bin2hex(Scrypt::calc('plain password', 'salt', 8, 8, 16, 32));
This function passes all the tests specified in the documentation.
Credits
License
The package is an open-sourced software licensed under the MIT License.