crypto

SHA-256, HMAC, HKDF, Argon2id password hashing, AES-256-GCM, Ed25519, ECDSA P-256, X25519, HPKE, base64 and hex: one C source on every target, native == wasm

loft install crypto
use crypto;
Guidegetting started with crypto
Version0.5.3 — published 2026-12-03
CategoriesCryptography
Requiresloft >=2026.11.20261124
CompatibilityAPI: drop-in for 0.3.2 and later · stored data: drop-in for 0.3.2 and later
Download254 kB
Public API32 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