#polynomial #merkle-tree #post-quantum #algebra #rescue-prime

twenty-first

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

28 releases (16 breaking)

new 0.19.1 Mar 17, 2023
0.18.0 Mar 1, 2023
0.10.0 Dec 22, 2022
0.7.2 Nov 23, 2022

#208 in Math

Download history 25/week @ 2022-11-27 36/week @ 2022-12-04 37/week @ 2022-12-11 133/week @ 2022-12-18 23/week @ 2022-12-25 14/week @ 2023-01-01 64/week @ 2023-01-08 102/week @ 2023-01-15 94/week @ 2023-01-22 116/week @ 2023-01-29 108/week @ 2023-02-05 79/week @ 2023-02-12 165/week @ 2023-02-19 147/week @ 2023-02-26 117/week @ 2023-03-05 119/week @ 2023-03-12

549 downloads per month
Used in 3 crates

GPL-2.0 license

1MB
21K SLoC

twenty-first

GitHub CI crates.io

A collection of cryptography primitives written in Rust.

Content of this library

This library contains primarily the following cryptographic primitives:

This library also contains some proof-of-concept STARK implementations:

Release protocol

While twenty-first's version is 0.x.y, releasing a new version:

  1. Is the release backwards-compatible? Then the new version is 0.x.y+1. Otherwise the new version is 0.x+1.0.
  2. Create a commit that increases version = "0.x.y" in twenty-first/Cargo.toml. The commit message should give a one-line summary of each release change.
  3. Have a v0.x.y git tag on this commit created. (git tag v0.x.y [sha], git push upstream --tags)
  4. Have this commit cargo published on crates.io and in GitHub tags.

If you do not have the privilege to create git tags or run cargo publish, submit a PR and the merger will take care of these.

Dependencies

~15–23MB
~500K SLoC