Breadstick Get it on Google Play

ntruprime

microlibrary for Streamlined NTRU Prime - command line tools

Command lineDevelopment

Install

Not tested on a device yet. What that means

Commands in the package

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

About ntruprime

From Debian's package 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.

From Debian's description of the ntruprime package, under that package's license.

Dependencies

Depends on

  • libc6
  • libcpucycles1
  • libntruprime1
  • librandombytes1

Recommends

Related apps

All Linux development tools

Sources and licenses

  • Name: the Debian package name.
  • Summary: Debian's short description of the ntruprime package, under that package's license.
  • Description: Debian's description of the ntruprime package, under that package's license.
  • Versions and sizes: Debian's archive for ARM64, as on packages.debian.org.
  • Popularity: Debian Popularity Contest counts.

More in About the catalog.