PHPackages                             highperapp/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. [Security](/categories/security)
4. /
5. highperapp/crypto

ActiveLibrary[Security](/categories/security)

highperapp/crypto
=================

Enterprise-grade cryptographic library with OWASP A02 compliance, FIPS 140-2 support, and advanced security features

00Rust

Since Oct 3Pushed 7mo agoCompare

[ Source](https://github.com/highperapp/crypto)[ Packagist](https://packagist.org/packages/highperapp/crypto)[ RSS](/packages/highperapp-crypto/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

HighPer Crypto
==============

[](#highper-crypto)

High-performance cryptographic utilities and secure operations that work with **any PHP project**.

> 🔄 **Standalone Library**: This package works independently and can be used in any PHP application - no HighPer framework required!

Features
--------

[](#features)

- 🔐 **Modern Encryption**: Libsodium-based encryption with ChaCha20-Poly1305
- 🔑 **Key Management**: Secure key generation, derivation, and storage
- 📝 **Multi-Token Support**: JWT, PASETO, and OAuth 2.0 token handling
- 🛡️ **Password Hashing**: Argon2id password hashing with configurable parameters
- 🔒 **Digital Signatures**: Ed25519 digital signatures for data integrity
- ⚡ **Async Operations**: Non-blocking cryptographic operations with AMPHP
- 🎯 **Secure Random**: Cryptographically secure random number generation
- 🔧 **Environment-Driven**: Configure token providers via environment variables

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

[](#installation)

```
composer require highperapp/crypto
```

Quick Start
-----------

[](#quick-start)

### Encryption/Decryption

[](#encryptiondecryption)

```
