PHPackages                             kuyoto/scrypt - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. kuyoto/scrypt

ActiveLibrary[Security](/categories/security)

kuyoto/scrypt
=============

Provides the scrypt key derivation function.

v1.0.0(6y ago)2681[1 issues](https://github.com/kuyoto/scrypt/issues)[1 PRs](https://github.com/kuyoto/scrypt/pulls)MITPHPPHP ^7.0CI failing

Since May 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kuyoto/scrypt)[ Packagist](https://packagist.org/packages/kuyoto/scrypt)[ Docs](https://github.com/kuyoto/scrypt)[ RSS](/packages/kuyoto-scrypt/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

scrypt
======

[](#scrypt)

This package provides the [`scrypt`](http://www.tarsnap.com/scrypt.html%5D) key derivation function.

Installation
------------

[](#installation)

```
composer require kuyoto/scrypt
```

Usage
-----

[](#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](https://tools.ietf.org/html/draft-josefsson-scrypt-kdf-01).

Credits
-------

[](#credits)

- [Tolulope Kuyoro](https://github.com/kuyoto)

License
-------

[](#license)

The package is an open-sourced software licensed under the [MIT License](LICENSE).

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2271d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/41d7599877e958842cf173cf1265fabd845006ccd14becaacd12b63c5a28ccd1?d=identicon)[nikuyo](/maintainers/nikuyo)

---

Top Contributors

[![kuyoto](https://avatars.githubusercontent.com/u/55682776?v=4)](https://github.com/kuyoto "kuyoto (7 commits)")

---

Tags

securitypasswordkeyscryptderivation

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/kuyoto-scrypt/health.svg)

```
[![Health](https://phpackages.com/badges/kuyoto-scrypt/health.svg)](https://phpackages.com/packages/kuyoto-scrypt)
```

###  Alternatives

[rych/phpass

PHP Password Library: Easy, secure password management for PHP

249862.9k4](/packages/rych-phpass)[bordoni/phpass

Portable PHP password hashing framework

244.9M31](/packages/bordoni-phpass)[jeremykendall/password-validator

Password Validator validates password\_hash generated passwords, rehashes passwords as necessary, and will upgrade legacy passwords.

14270.9k3](/packages/jeremykendall-password-validator)[mxrxdxn/pwned-passwords

A library to query Troy Hunt's Pwned Passwords service to see whether or not a password has been included in a public breach.

3383.9k8](/packages/mxrxdxn-pwned-passwords)[spooner-web/be_secure_pw

You can set password conventions to force secure passwords for BE users.

10467.5k](/packages/spooner-web-be-secure-pw)[firehed/security

Security tools for PHP

2378.3k2](/packages/firehed-security)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
