alla flaggor
trixie  ] [  forky  ] [  sid  ]
[ Källkod: python-ntruprime  ]

Paket: python3-ntruprime (0~20241021.4-4)

Länkar för python3-ntruprime

Screenshot

Debianresurser:

Hämta källkodspaketet python-ntruprime:

Ansvariga:

Externa resurser:

Liknande paket:

microlibrary for Streamlined NTRU Prime - Python wrapper

Python wrapper around implementation of the Streamlined NTRU Prime cryptosystem. The Python API for ntruprime provides the functions: sntrup{653,761,857,953,1013,1277}.keypair() sntrup{653,761,857,953,1013,1277}.enc() sntrup{653,761,857,953,1013,1277}.dec()

The library has a very simple stateless API. As an example, the following script creates a key pair, creates a ciphertext and session key, and then recovers the session key from the ciphertext:

import ntruprime kem = ntruprime.sntrup1277 pk, sk = kem.keypair() c, k = kem.enc(pk) assert k == kem.dec(c, sk)

Andra paket besläktade med python3-ntruprime

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta python3-ntruprime

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 7,5 kbyte34,0 kbyte [filförteckning]