PHPackages                             nipil/chacha20 - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nipil/chacha20

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

nipil/chacha20
==============

A pure-php implementation of ChaCha20 for both 32-bit and 64 bits

v1.0.2(9y ago)055MITPHPPHP &gt;=7.0.0

Since Apr 8Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (4)Used By (0)

ChaCha20
========

[](#chacha20)

[![Build Status](https://camo.githubusercontent.com/f6d8683d4cffe2201fb367c9d14952e57ec6b6a1c7c6a050ede88bd2fd568a7e/68747470733a2f2f7472617669732d63692e6f72672f6e6970696c2f43686143686132302e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nipil/ChaCha20)[![Coverage Status](https://camo.githubusercontent.com/76a15e454c7dca241d346895f9172783eab165b8a060101fdc7c0378e15c03d6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6e6970696c2f43686143686132302f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/nipil/ChaCha20?branch=master)

A pure-php implementation of ChaCha20, fully tested on both 32-bit php and 64 bits.

Install
-------

[](#install)

Tested on Ubuntu 16.04 LTS (with php 7.0)

basic system components :

```
sudo apt-get install composer

```

phpunit asks for following system additional components :

```
sudo apt-get install php-xml php-mbstring zip

```

coveralls.io asks for following system additional components :

```
sudo apt-get install php-curl

```

additionnal package if you want to run code coverage locally :

```
sudo apt-get install php-xdebug

```

Install with composer (dev)

```
composer install

```

Install with composer (production)

```
composer install --no-dev

```

Run tests with composer

```
composer exec -- phpunit

```

Run tests with composer with local code coverage (requires xdebug, see above)

```
mkdir -p build/html
composer exec -- phpunit --coverage-text --coverage-html build/html/

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

3292d ago

### Community

Maintainers

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

---

Top Contributors

[![nipil](https://avatars.githubusercontent.com/u/6042459?v=4)](https://github.com/nipil "nipil (33 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nipil-chacha20/health.svg)

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

PHPackages © 2026

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