PHPackages                             stephenhill/diffie-hellman - 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. stephenhill/diffie-hellman

ActiveLibrary[Security](/categories/security)

stephenhill/diffie-hellman
==========================

142PHP

Since Mar 18Pushed 11y ago1 watchersCompare

[ Source](https://github.com/stephen-hill/Diffie-Hellman)[ Packagist](https://packagist.org/packages/stephenhill/diffie-hellman)[ RSS](/packages/stephenhill-diffie-hellman/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Diffie-Hellman Library for PHP
==============================

[](#diffie-hellman-library-for-php)

[![Build Status](https://camo.githubusercontent.com/6bf9e5c74cd7a66619cc81c532c8f088b8d2bfa45a7abb145fc66bb1261e5d82/68747470733a2f2f6170692e7472617669732d63692e6f72672f7374657068656e2d68696c6c2f4469666669652d48656c6c6d616e2e737667)](https://travis-ci.org/stephen-hill/Diffie-Hellman)

A Diffie-Hellman implementation written in PHP. I wrote this so I could learn how the Diffie-Hellman algorithm works.

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f73e12908980c0d70e9321234a7c8ebc13430de1ef4662476ea20c00d1a6d97b?d=identicon)[stephen-hill](/maintainers/stephen-hill)

---

Top Contributors

[![stephen-hill](https://avatars.githubusercontent.com/u/205619?v=4)](https://github.com/stephen-hill "stephen-hill (8 commits)")

### Embed Badge

![Health badge](/badges/stephenhill-diffie-hellman/health.svg)

```
[![Health](https://phpackages.com/badges/stephenhill-diffie-hellman/health.svg)](https://phpackages.com/packages/stephenhill-diffie-hellman)
```

###  Alternatives

[phpids/phpids

PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application

791150.0k2](/packages/phpids-phpids)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25866.3k44](/packages/paragonie-ecc)[nicobleiler/php-passphrase

Passphrase generator with Laravel integration, inspired by Bitwarden. Uses the EFF long word list by default with support for custom wordlists.

4912.6k](/packages/nicobleiler-php-passphrase)[dwgebler/encryption

Encryption wrapper for PHP using libsodium — simple API for symmetric and asymmetric encryption, password hashing, digital signing, and message authentication.

317.5k](/packages/dwgebler-encryption)

PHPackages © 2026

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