Leviathan-Crypto: Serpent-256 and XChaCha20-Poly1305 for the Web
Summary
Leviathan-Crypto is a zero dependency WebAssembly cryptography library for TypeScript implementing Serpent-256 and XChaCha20-Poly1305 with SHA-2/3 and Fortuna RNG. It runs cryptographic computations inside WASM outside the JS JIT to reduce timing side channels, and exposes a typed TypeScript API with streaming AEAD options and secure key management. The project emphasizes authenticated encryption, security margins of Serpent-256, and flexible loading modes for embedding, streaming, or manual usage.