paragonie/halite
High-level cryptography interface powered by libsodium observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 59
- Release rhythm 24
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 118.5
- age_days: 3999
- days_rel: 348
- days_push: 250
- n_releases_24m: 3
Adoption not part of the score
1157 stars · 91 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Halite is a high-level, misuse-resistant cryptography library for PHP built on top of libsodium. It simplifies encryption, decryption, digital signatures, and password hashing by handling nonce management and key representation automatically.
Use cases
- encrypt and decrypt files with streaming symmetric or public-key encryption
- sign and verify messages with ed25519 digital signatures
- encrypt data without manually managing nonces
- store secure authenticated HTTP cookies in PHP applications
- hash passwords securely with argon2
- give PHP developers a safe simple alternative to raw libsodium APIs
When to choose
- you need encryption or signatures in PHP and want to avoid common cryptographic mistakes
- you want file encryption with automatic nonce handling
- you prefer a simple high-level API over libsodium's low-level functions
- you need authenticated encrypted cookies out of the box
When to avoid
- your project is not in PHP
- you need cryptographic primitives or protocols not exposed by libsodium
- you require a permissive license and cannot accept MPL-2.0 terms
- you need cross-language interoperability with non-libsodium crypto formats
Facets
library · maturity active
cryptography auth security serialization security developer-tools web-development backend php windows cross-platform libsodium encryption digital-signature misuse-resistant file-encryption authenticated-encryption key-management composer linux macos
4 sources
- readme: https://github.com/paragonie/halite · fetched 2026-08-28 · efb9b5e1a277
- homepage: https://paragonie.com/project/halite · fetched 2026-08-29 · 4f2a61786b43
- site_page: https://paragonie.com/book/pecl-libsodium/read/00-intro.md · fetched 2026-08-29 · 5d85e90e4e15
- site_page: https://paragonie.com/info · fetched 2026-08-29 · 2b4c8084191a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| paragonie/halite | main | 55 |
For agents
markdown · JSON · MCP: product_card(name="paragonie/halite")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem