Back to browse
GitHub Repository

Post-quantum WASM cryptography. Authenticated encryption, signatures with key agreement, transparency logs, and ratcheting built on constant-time bitsliced ciphers (Serpent, XChaCha20, AES), post-quantum schemes (ML-KEM, ML-DSA, SLH-DSA), BLAKE3 and SHA-family hashing, and the Fortuna CSPRNG. Zero dependencies, tree-shakeable, side-effect-free.

9 starsTypeScript

Leviathan-crypto – WebAssembly cryptography library for TypeScript

by vitonsky·Mar 19, 2026·1 point·0 comments

AI Analysis

●●SolidWizardryBig Brain

WASM isolation prevents JIT speculation attacks on key material—clever security layer.

Strengths
  • WASM as correctness layer eliminates JavaScript timing vulnerabilities from table lookups.
  • Serpent-256 offers 32 rounds vs AES's 10-14 for conservative security margin.
  • Strictly typed TypeScript API with explicit init gates prevents misuse.
Weaknesses
  • Crypto libraries are extremely crowded—libsodium and Web Crypto API already exist.
  • Zero stars suggests no real adoption yet despite security claims.
Category
Target Audience

TypeScript developers needing client-side cryptography with timing attack protection

Similar To

libsodium · Web Crypto API · TweetNaCl

Similar Projects