PHPackages                             nuxed/crypto - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. nuxed/crypto

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

nuxed/crypto
============

Nuxed Crypto

v2.0.0(5y ago)434642MITHack

Since Oct 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/nuxed/crypto)[ Packagist](https://packagist.org/packages/nuxed/crypto)[ RSS](/packages/nuxed-crypto/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (8)Dependencies (10)Versions (9)Used By (2)

[![](https://avatars3.githubusercontent.com/u/45311177?s=200&v=4)](https://avatars3.githubusercontent.com/u/45311177?s=200&v=4)

[![Coding standards status](https://github.com/nuxed/crypto/workflows/coding%20standards/badge.svg?branch=develop)](https://github.com/nuxed/crypto/workflows/coding%20standards/badge.svg?branch=develop)[![Static analysis status](https://github.com/nuxed/crypto/workflows/static%20analysis/badge.svg?branch=develop)](https://github.com/nuxed/crypto/workflows/static%20analysis/badge.svg?branch=develop)[![Unit tests status](https://github.com/nuxed/crypto/workflows/unit%20tests/badge.svg?branch=develop)](https://github.com/nuxed/crypto/workflows/unit%20tests/badge.svg?branch=develop)[![Total Downloads](https://camo.githubusercontent.com/d8d0880731348b35a545a8565e5a596156d4c3cf24f85ee3e6d96300935ffbae/68747470733a2f2f706f7365722e707567782e6f72672f6e757865642f63727970746f2f642f746f74616c2e737667)](https://packagist.org/packages/nuxed/crypto)[![Latest Stable Version](https://camo.githubusercontent.com/f42c85cdafc7ee421412079bc8f344311764019a4b67d2600ec5d2f5de29542b/68747470733a2f2f706f7365722e707567782e6f72672f6e757865642f63727970746f2f762f737461626c652e737667)](https://packagist.org/packages/nuxed/crypto)[![License](https://camo.githubusercontent.com/12132147b18ecf76229ee5e931230561579908b58a7ce407e6497a179ac0a2be/68747470733a2f2f706f7365722e707567782e6f72672f6e757865642f63727970746f2f6c6963656e73652e737667)](https://packagist.org/packages/nuxed/crypto)

Nuxed Crypto
============

[](#nuxed-crypto)

The Nuxed Crypto component provides a high-level cryptography interface that relies on libsodium for all of its underlying cryptography operations.

inspired by [`Halite`](https://github.com/paragonie/halite).

### Important

[](#important)

Although this library has developed with care, it has not been examined by security experts, there will always be a chance that we overlooked something. Please ask your favourite trusted hackers to hammer it for implementation errors and bugs before even thinking about deploying it in production.

### Installation

[](#installation)

This package can be installed with [Composer](https://getcomposer.org).

```
$ composer require nuxed/crypto
```

### Example

[](#example)

```
use namespace Nuxed\{Crypto, Filesystem};
use namespace Nuxed\Crypto\Symmetric;

async function main(): Awaitable {
  // generate a key :
  $key = Symmetric\Encryption\Key::generate();

  // or load a stored encryption key :
  $file = new Filesystem\File('/path/to/encryption.key');
  $key = $key = Symmetric\Encryption\Key::import(
    new Crypto\HiddenString(await $file->read())
  );

  $message = new Crypto\HiddenString('Hello, World!');
  $ciphertext = Symmetric\Encryption\encrypt($message, $key);
  $plaintext = Symmetric\Encryption\decrypt($ciphertext, $key);

  print $plaintext->toString(); // Hello, World!
}
```

---

### Security

[](#security)

For information on reporting security vulnerabilities in Nuxed, see [SECURITY.md](SECURITY.md).

---

### License

[](#license)

Nuxed is open-sourced software licensed under the MIT-licensed.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 98.4% 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 ~55 days

Recently: every ~93 days

Total

8

Last Release

2006d ago

Major Versions

v1.2.0 → v2.0.02020-11-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/8489d7c85bfa7c637b8e13484f3f659652aea0568b6e7f9e66edeb0649b5a2f1?d=identicon)[azjezz](/maintainers/azjezz)

---

Top Contributors

[![azjezz](https://avatars.githubusercontent.com/u/29315886?v=4)](https://github.com/azjezz "azjezz (61 commits)")[![lexidor](https://avatars.githubusercontent.com/u/31805625?v=4)](https://github.com/lexidor "lexidor (1 commits)")

---

Tags

argon2authenticationconstant-timecryptographycryptography-librarycurve25519digital-signatureed25519encryptionhackhacklanghhvmlibsodiummisuse-resistantnuxedpassword-hashingpoly1305x25519xsalsa20

### Embed Badge

![Health badge](/badges/nuxed-crypto/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[openeuropa/oe_authentication

Authentication against the OpenEuropa Authentication service.

17314.8k2](/packages/openeuropa-oe-authentication)

PHPackages © 2026

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