zig-crypto
Portable cryptographic primitives -- SHA-256, HMAC, AES, ECDH, Ed25519, PBKDF2. No OpenSSL.
Install
zig fetch --save git+https://github.com/Jesssullivan/zig-crypto.git Overview
Portable cryptographic primitives in Zig with C FFI -- SHA-256, HMAC-SHA-256, AES-CBC, PBKDF2, ECDH P-256, Ed25519, and CSPRNG.
License: Zlib OR MIT
A minimal, zero-dependency crypto library that compiles to a static C library from Zig. No OpenSSL, no CommonCrypto, no system dependencies. Provides the cryptographic primitives needed by CTAP2 PIN protocol, Sparkle update signing, and general-purpose credential management.
- SHA-256: Single-shot and incremental hashing, hex output
- HMAC-SHA-256:...