This is a staging site. Uploads will not persist. Testing only.

ntruprime

microlibrary for Streamlined NTRU Prime - command line tools

Description

libntruprime is an implementation of the Streamlined NTRU Prime cryptosystem as a microlibrary.

The command-line interface for libntruprime provides the following command-line tools:

sntrup653-keypair sntrup761-keypair sntrup857-keypair sntrup953-keypair
                  sntrup1013-keypair sntrup1277-keypair
sntrup653-enc sntrup761-enc sntrup857-enc sntrup953-enc
              sntrup1013-enc sntrup1277-enc
sntrup653-dec sntrup761-dec sntrup857-dec sntrup953-dec
              sntrup1013-dec sntrup1277-dec
ntruprime-fulltest ntruprime-speed ntruprime-test

Each tool exits 0 on success, nonzero on failure.

These tools allow libntruprime to be easily used from shell scripts. Other languages can also use libntruprime via these tools, but languages typically have good support for FFI and can use the C interface directly.

Key generation (for, e.g., sntrup1277): sntrup1277-keypair 5>publickey 9>secretkey

Encapsulation (for, e.g., sntrup1277): sntrup1277-enc >ciphertext 7>sessionkey 4<publickey

Decapsulation (for, e.g., sntrup1277): sntrup1277-dec 7>sessionkey <ciphertext 8<secretkey

The ntruprime-speed, ntruprime-test and ntruprime-fulltest tools can be used for benchmarking and internal self testing. Python and Valgrind is only needed for the ntruprime-fulltest tool, the other tools are written in C.

Command line tools.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://libntruprime.cr.yp.to/


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ntruprime