kuyoto/scrypt

Provides the scrypt key derivation function.

v1.0.0 2020-05-29 08:22 UTC

This package is auto-updated.

Last update: 2024-10-25 08:35:28 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.