crypto

Cryptographic primitives — SHA-256, HMAC, base64; Ed25519, X25519, HPKE (RFC 9180), ChaCha20-Poly1305 / XChaCha20-Poly1305 / AES-256-GCM, HKDF, OS CSPRNG.

loft install crypto
use crypto;
Guidegetting started with crypto
Version0.3.14 — published 2026-10-20
CategoriesCryptography
Requiresloft >=2026.10.0
CompatibilityAPI: drop-in for 0.3.2 and later · stored data: drop-in for 0.3.2 and later
Download71 kB
Public API28 items, with their documentation
Dependenciesnone
Used bypluginabi
Sourceread it here — the libraries are written in loft
Repositoryhttps://github.com/loft-lang/loft-libs-core/tree/main/crypto

A drop-in floor is the oldest release of this package the current one still replaces without a source change. Not declared means exactly that — the package has made no promise, which is the honest state for one published before the compatibility contract existed.

← All libraries