PHPackages                             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. pear/crypt\_diffiehellman

AbandonedArchivedLibrary[Security](/categories/security)

pear/crypt\_diffiehellman
=========================

Implementation of Diffie-Hellman Key Exchange cryptographic protocol for PHP5

v0.2.6(8y ago)411.6k↓11.1%71BSD-2-ClausePHP

Since Aug 24Pushed 3mo ago11 watchersCompare

[ Source](https://github.com/pear/Crypt_DiffieHellman)[ Packagist](https://packagist.org/packages/pear/crypt_diffiehellman)[ RSS](/packages/pear-crypt-diffiehellman/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

Crypt\_DiffieHellman
====================

[](#crypt_diffiehellman)

Implementation of the Diffie-Hellman Key Exchange cryptographic protocol in PHP5.

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

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

[](#installation)

### PEAR

[](#pear)

```
$ pear install crypt_diffiehellman-alpha
```

### Composer

[](#composer)

```
$ composer require pear/crypt_diffiehellman
```

Links
-----

[](#links)

Homepage[http://pear.php.net/package/Crypt\_DiffieHellman](http://pear.php.net/package/Crypt_DiffieHellman)Bug tracker[http://pear.php.net/bugs/search.php?cmd=display&amp;package\_name\[\]=Crypt\_DiffieHellman](http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Crypt_DiffieHellman)Unit test status[https://travis-ci.org/pear/Crypt\_DiffieHellman](https://travis-ci.org/pear/Crypt_DiffieHellman)

[![https://travis-ci.org/pear/Crypt_DiffieHellman.svg?branch=master](https://camo.githubusercontent.com/f5447dd37733ceb35cbd7881483fc3869c3189158a2d1904c317f3e840552065/68747470733a2f2f7472617669732d63692e6f72672f706561722f43727970745f44696666696548656c6c6d616e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pear/Crypt_DiffieHellman)Packagist[https://packagist.org/packages/pear/crypt\_diffiehellman](https://packagist.org/packages/pear/crypt_diffiehellman)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance54

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Total

2

Last Release

3189d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1323714f58f9144af310e5e4217e61b96ad7c42bc5c93a1f2d97deca95f6f4f8?d=identicon)[ashnazg](/maintainers/ashnazg)

![](https://www.gravatar.com/avatar/a1a2e6fe03f91204de2117430a748a12db2957eb113d4a50fc86d68d3c851e11?d=identicon)[cweiske](/maintainers/cweiske)

---

Top Contributors

[![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)")[![ashnazg](https://avatars.githubusercontent.com/u/100170?v=4)](https://github.com/ashnazg "ashnazg (1 commits)")

---

Tags

diffie-hellmanlibraryphp

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[mews/purifier

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

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41478.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

87117.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)[paragonie/hidden-string

Encapsulate strings in an object to hide them from stack traces

7410.6M39](/packages/paragonie-hidden-string)

PHPackages © 2026

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