PHPackages                             mikerow/salt - 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. mikerow/salt

AbandonedArchivedLibrary[Security](/categories/security)

mikerow/salt
============

NaCl cryptography library for PHP

v1.0.7(5y ago)025312PHP

Since Aug 13Pushed 5y agoCompare

[ Source](https://github.com/MikeRow/Salt)[ Packagist](https://packagist.org/packages/mikerow/salt)[ RSS](/packages/mikerow-salt/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (8)DependenciesVersions (9)Used By (2)

Salt
====

[](#salt)

[NaCl](http://nacl.cr.yp.to/) cryptography library for PHP

This repository is a PSR-4 Composer-ready version of [devi/Salt](https://github.com/devi/Salt) and [jaimehgb/Salt](https://github.com/jaimehgb/Salt)

---

Install
-------

[](#install)

```
composer require mikerow/salt
```

---

Features
--------

[](#features)

- [Blake2b](https://github.com/MikeRow/Salt/tree/master/src/Blake2b)
- [Chacha20](https://github.com/MikeRow/Salt/tree/master/src/Chacha20)
- [Chacha20Poly1305](https://github.com/MikeRow/Salt/tree/master/src/Chacha20Poly1305)
- [Curve25519](https://github.com/MikeRow/Salt/tree/master/src/Curve25519)
- [Ed25519](https://github.com/MikeRow/Salt/tree/master/src/Ed25519)
- [Poly1305](https://github.com/MikeRow/Salt/tree/master/src/Poly1305)
- [Salsa20](https://github.com/MikeRow/Salt/tree/master/src/Salsa20)
- [Salt](https://github.com/MikeRow/Salt/blob/master/src/Salt.php)

    cryptography methods
- [NanoSalt](https://github.com/MikeRow/Salt/blob/master/src/NanoSalt.php)

    cryptography methods for Banano/Nano currencies (different signing)

---

Credits
-------

[](#credits)

Thanks a lot for the work and effort of

- [devi/Salt](https://github.com/devi/Salt)
- [jaimehgb/Salt](https://github.com/jaimehgb/Salt)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~8 days

Recently: every ~1 days

Total

8

Last Release

2044d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47996463?v=4)[MikeRow](/maintainers/MikeRow)[@MikeRow](https://github.com/MikeRow)

---

Top Contributors

[![devi](https://avatars.githubusercontent.com/u/300665?v=4)](https://github.com/devi "devi (18 commits)")[![MikeRow](https://avatars.githubusercontent.com/u/47996463?v=4)](https://github.com/MikeRow "MikeRow (18 commits)")

---

Tags

cryptographylibrarynaclnanophpsaltphpcryptographylibrarysaltnanonacl

### Embed Badge

![Health badge](/badges/mikerow-salt/health.svg)

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

###  Alternatives

[paragonie/ciphersweet

Searchable field-level encryption library for relational databases

4641.2M21](/packages/paragonie-ciphersweet)[xxtea/xxtea

XXTEA is a fast and secure encryption algorithm. This is a XXTEA library for PHP.

11341.7k](/packages/xxtea-xxtea)[ionux/phactor

Phactor is a high-performance PHP implementation of the elliptic curve math functions required to generate &amp; verify private/public (asymmetric) EC keypairs and ECDSA signatures based on secp256k1 curve parameters. This library also includes a class to generate Service Identification Numbers (SINs) based on the published Identity Protocol v1 spec.

5275.0k30](/packages/ionux-phactor)[camcima/dukpt-php

DUKPT implementation in PHP

25153.1k](/packages/camcima-dukpt-php)[poly-crypto/poly-crypto

High-level cryptographic functions that are interoperable between NodeJS and PHP 7.1+

127.8k1](/packages/poly-crypto-poly-crypto)[ukrbublik/openssl_x509_crl

Missing OpenSSL function on PHP to create CRL (certificate revocation list) for CA

182.1k](/packages/ukrbublik-openssl-x509-crl)

PHPackages © 2026

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