#post-quantum-cryptography #merkle-tree #polynomial #tip5

twenty-first

Collection of mathematics routines and cryptography for the twenty-first century

73 releases (2 stable)

Uses new Rust 2024

1.1.0 Jan 16, 2026
1.0.0 Oct 23, 2025
0.50.0 Jun 27, 2025
0.48.0 Feb 11, 2025
0.7.2 Nov 23, 2022

#60 in Math

Download history 858/week @ 2025-10-12 1189/week @ 2025-10-19 492/week @ 2025-10-26 486/week @ 2025-11-02 351/week @ 2025-11-09 300/week @ 2025-11-16 525/week @ 2025-11-23 898/week @ 2025-11-30 635/week @ 2025-12-07 484/week @ 2025-12-14 464/week @ 2025-12-21 372/week @ 2025-12-28 633/week @ 2026-01-04 722/week @ 2026-01-11 345/week @ 2026-01-18 210/week @ 2026-01-25

1,991 downloads per month
Used in 13 crates (6 directly)

GPL-2.0 license

1MB
16K SLoC

twenty-first

GitHub CI crates.io Coverage Status

A collection of cryptography primitives written in Rust.

Content of this library

This library contains primarily the following cryptographic primitives:

Wasm support

The twenty-first library can be built for WebAssembly. See the dedicated readme for further information.

Dependencies

~5–7MB
~120K SLoC