Skip to content
Sections
>> Trisquel >> Packages >> xolotl (13.0) >> python >> python3-lib1305
[  xolotl  ]
[ Source: python-lib1305  ]

Package: python3-lib1305 (0~20250415.2-1)

Poly1305 one-time authenticator microlibrary - Python wrapper

Python wrapper around implementation of the Poly1305 one-time authenticator. The Python API for lib1305 provides the functions: poly1305.auth() poly1305.verify()

The library has a very simple stateless API. As an example, the following script generates an authenticator 'a' given a message 'm' and a secret key 'k'. And verifies an authenticator 'a' given a message 'm' and a secret key 'k'.

from lib1305 import poly1305 a = poly1305.auth(m, k) poly1305.verify(a, m, k)

Other Packages Related to python3-lib1305

  • depends
  • recommends
  • suggests
  • dep: lib1305-1
    Poly1305 one-time authenticator microlibrary - shared library
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

Download python3-lib1305

Download for all available architectures
Architecture Package Size Installed Size Files
all 5.0 kB28 kB [list of files]