PHPackages                             grantholle/pear-crypt-diffiehellman - 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. grantholle/pear-crypt-diffiehellman

ActiveLibrary[Security](/categories/security)

grantholle/pear-crypt-diffiehellman
===================================

A port of Pear's implementation of Diffie-Hellman Key Exchange cryptographic protocol for PHP5

1.0.3(5y ago)06021BSD-2-ClausePHPPHP ^7.2|^8.0

Since Aug 24Pushed 5y agoCompare

[ Source](https://github.com/grantholle/pear-crypt-diffiehellman)[ Packagist](https://packagist.org/packages/grantholle/pear-crypt-diffiehellman)[ RSS](/packages/grantholle-pear-crypt-diffiehellman/feed)WikiDiscussions master Synced 3w ago

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

DiffieHellman
=============

[](#diffiehellman)

This is a port of [Pear's Crypt\_DiffieHellman](https://github.com/pear/Crypt_DiffieHellman) that adds psr-4 compliance.

Implementation of the Diffie-Hellman Key Exchange cryptographic protocol.

Enables two parties without any prior knowledge of each other establish a secure shared secret key across an insecure channel of communication.

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

[](#installation)

```
$ composer require grantholle/pear-crypt-diffiehellman
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~322 days

Total

6

Last Release

1938d ago

Major Versions

v0.2.6 → 1.0.02020-08-14

PHP version history (2 changes)1.0.0PHP ^7.2

1.0.3PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/57ed974235b4a23e6aaf9d9039bff2b0d1268edc0e44ebab6e60e4bf1e6eb144?d=identicon)[grantholle](/maintainers/grantholle)

---

Top Contributors

[![grantholle](https://avatars.githubusercontent.com/u/1189456?v=4)](https://github.com/grantholle "grantholle (6 commits)")[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (4 commits)")[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (3 commits)")[![till](https://avatars.githubusercontent.com/u/27003?v=4)](https://github.com/till "till (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/grantholle-pear-crypt-diffiehellman/health.svg)

```
[![Health](https://phpackages.com/badges/grantholle-pear-crypt-diffiehellman/health.svg)](https://phpackages.com/packages/grantholle-pear-crypt-diffiehellman)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.0M134](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24772.0k35](/packages/paragonie-ecc)

PHPackages © 2026

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