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

ActiveLibrary[Security](/categories/security)

sop/pkcs5
=========

A PHP implementation of PKCS #5 password-based cryptography.

0.3.0(7y ago)32601MITPHPPHP &gt;=7.2CI failing

Since Jul 14Pushed 7y ago1 watchersCompare

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

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

PKCS #5
=======

[](#pkcs-5)

[![Build Status](https://camo.githubusercontent.com/c769b841aa6e37edf50759a1cc6973055f2add7c42b1f368c94cf6e5c534a46e/68747470733a2f2f7472617669732d63692e6f72672f736f702f706b6373352e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sop/pkcs5)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/82f734b247a227b75e742ee4bc950df8c61c011b7279b12f3331979caf9f777f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f702f706b6373352f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sop/pkcs5/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/910828761895c424a9d125a418218e3f8e0027e57ba32057a8a043bce0de0e2c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f736f702f706b6373352f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/sop/pkcs5?branch=master)[![License](https://camo.githubusercontent.com/c2f0d1c75e191a9ed8a808d906a002769d803816f6f82409bcae2e96e3dea0f0/68747470733a2f2f706f7365722e707567782e6f72672f736f702f706b6373352f6c6963656e7365)](https://github.com/sop/pkcs5/blob/master/LICENSE)

A PHP implementation of [PKCS #5](https://tools.ietf.org/html/rfc2898)password-based cryptography.

Provides ASN.1 types for PBE algorithm identifiers and related structures.

Requirements
------------

[](#requirements)

- PHP &gt;=7.2
- [sop/asn1](https://github.com/sop/asn1)
- [sop/crypto-types](https://github.com/sop/crypto-types)
- [sop/crypto-bridge](https://github.com/sop/crypto-bridge)

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

[](#installation)

This library is available on [Packagist](https://packagist.org/packages/sop/pkcs5).

```
composer require sop/pkcs5

```

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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 ~169 days

Total

5

Last Release

2596d ago

PHP version history (3 changes)0.1.0PHP &gt;=5.6.3

0.2.0PHP &gt;=7.0

0.3.0PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1017000?v=4)[Joni Kollani](/maintainers/sop)[@sop](https://github.com/sop)

---

Top Contributors

[![sop](https://avatars.githubusercontent.com/u/1017000?v=4)](https://github.com/sop "sop (16 commits)")

---

Tags

key-derivatorpasswordpbkdfpbkdf2pkcspkcs5passwordpbkdf2key derivationpbes1pbes2pbkdf1pkcs5

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[ircmaxell/password-compat

A compatibility library for the proposed simplified password hashing algorithm: https://wiki.php.net/rfc/password\_hash

2.1k57.7M127](/packages/ircmaxell-password-compat)[symfony/password-hasher

Provides password hashing utilities

817151.0M154](/packages/symfony-password-hasher)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

87118.6M77](/packages/bjeavons-zxcvbn-php)[rych/phpass

PHP Password Library: Easy, secure password management for PHP

248837.5k4](/packages/rych-phpass)[mikemclin/laravel-wp-password

Laravel package that checks and creates WordPress password hashes

893.5M2](/packages/mikemclin-laravel-wp-password)[bordoni/phpass

Portable PHP password hashing framework

254.7M29](/packages/bordoni-phpass)

PHPackages © 2026

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