#primality #math #aks #bernstein

sys tnt-lib

A Rust implementation of many certificates about Integers

4 releases

0.1.4 Sep 5, 2022
0.1.3 Sep 1, 2022
0.1.2 Sep 1, 2022
0.1.1 Sep 1, 2022

#1232 in Cryptography

Download history 1/week @ 2024-02-22 1/week @ 2024-02-29 2/week @ 2024-03-28 6/week @ 2024-04-04 149/week @ 2024-04-11

157 downloads per month

MIT license

38KB
705 lines

TNT

TNT is a free library that provides a rich set of functions that implement many certificates about Integers. It is carefully designed to be fast while producing correct results. The name stands for TNT Number Theory.

TNT also has a wide variety of tests that check the correctness of the implemented algorithm unlike other proposals.

Here is the list of certificates that TNT provides:

Usage

TNT uses some GNU libraries, specifically GMP, NTL and GF2X. This crates includes a script that must be run in order to fetch those dependencies:

./config.sh

Dependencies

~1–2.6MB
~40K SLoC