PHPackages                             afk11/pkcs5 - 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. afk11/pkcs5

ActiveLibrary[Security](/categories/security)

afk11/pkcs5
===========

Library for PKCS5 v2 key derivation &amp; and message encryption

v0.0.10(9y ago)1731MITPHP

Since Jul 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/afk11/pkcs5)[ Packagist](https://packagist.org/packages/afk11/pkcs5)[ RSS](/packages/afk11-pkcs5/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (11)Used By (1)

PKCS #5 (v2.0) utilities in PHP
-------------------------------

[](#pkcs-5-v20-utilities-in-php)

```
NB: This library is neither *complete* or *fully tested*.
If you come across this warning, it means the code isn't suitable to rely
on yet. Please bear with me, or submit a pull request to speed things along!

```

PKCS #5 is a specification for password-based encryption. It allows users to express the encryption algorithm, and key-derivation-function to be used with a password to derive a symmetric key.

The scope of this library is initially limited to the primitives recommended for new implementations as described in .

### Ciphers

[](#ciphers)

The library works with AES128, AES192, and AES256 ciphers.

### Key derivation function

[](#key-derivation-function)

Currently, PBKDF2 is the only supported key derivation function. It allows the use of SHA1, SHA224, SHA256, SHA384, and SHA512.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Every ~0 days

Total

10

Last Release

3589d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/763cdc5cc50414bacd4ff1080eede79432f7c3cc26a3d8aa9031b1537a8bd734?d=identicon)[thomaskerin](/maintainers/thomaskerin)

---

Top Contributors

[![afk11](https://avatars.githubusercontent.com/u/5617245?v=4)](https://github.com/afk11 "afk11 (28 commits)")

---

Tags

encryptionaeskeypbkdf2ECDSAderivationpkcs5

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/afk11-pkcs5/health.svg)

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

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[spomky-labs/aes-key-wrap

AES Key Wrap for PHP.

5022.7M14](/packages/spomky-labs-aes-key-wrap)[ionux/phactor

Phactor is a high-performance PHP implementation of the elliptic curve math functions required to generate &amp; verify private/public (asymmetric) EC keypairs and ECDSA signatures based on secp256k1 curve parameters. This library also includes a class to generate Service Identification Numbers (SINs) based on the published Identity Protocol v1 spec.

5275.0k30](/packages/ionux-phactor)[nzo/url-encryptor-bundle

The NzoUrlEncryptorBundle is a Symfony Bundle used to Encrypt and Decrypt data and variables in the Web application or passed through URL

961.0M2](/packages/nzo-url-encryptor-bundle)[mmeyer2k/dcrypt

A petite library of encryption functionality for PHP

98727.2k1](/packages/mmeyer2k-dcrypt)

PHPackages © 2026

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