File: control

package info (click to toggle)
python-ntruprime 0~20241021.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 148 kB
  • sloc: python: 281; makefile: 2
file content (43 lines) | stat: -rw-r--r-- 1,406 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Source: python-ntruprime
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders:
 Simon Josefsson <simon@josefsson.org>,
 Jan Mojžíš <janmojzis@debian.org>,
Priority: optional
Standards-Version: 4.7.2
Section: python
Homepage: https://github.com/janmojzis/python-ntruprime
Build-Depends:
 debhelper-compat (= 13),
 libntruprime1,
 pybuild-plugin-pyproject,
 python3-all,
 python3-pytest,
 python3-setuptools,
Vcs-Git: https://salsa.debian.org/python-team/packages/python-ntruprime.git
Vcs-Browser: https://salsa.debian.org/python-team/packages/python-ntruprime
Rules-Requires-Root: no
Testsuite: autopkgtest-pkg-pybuild

Package: python3-ntruprime
Architecture: all
Depends:
 libntruprime1,
 ${misc:Depends},
 ${python3:Depends},
Description: 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)