Skip to main content

Python wrapper around implementation of the Poly1305 one-time authenticator.

Import library:

from lib1305 import poly1305

Authenticating a message:

a = poly1305.auth(m, k)

Verifying an authenticator:

poly1305.verify(a, m, k)

The poly1305.auth function generates an 128-bit authenticator 'a' given a message 'm' and a 256-bit secret key 'k'. "One-time" means that the secret key must not be reused to generate an authenticator of another message.

The poly1305.verify function verifies an 128-bit authenticator 'a' given a messagea 'm' and a 256-bit secret key 'k'. It raises an exception if the authenticator is not valid.

Metadata

Release files for lib1305 20250415.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lib1305 20250415.1
File Size Uploaded Provenance Actions
lib1305-20250415.1.tar.gz 7.1 kB Without provenance Details for lib1305-20250415.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lib1305 20250415.1
File Interpreter ABI Platform Actions
lib1305-20250415.1-py3-none-any.whl Python 3 none any Details for lib1305-20250415.1-py3-none-any.whl

Total release size: 16.1 kB

Release files / lib1305-20250415.1.tar.gz

Download URL lib1305-20250415.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cc4639e9774cc977b6c4294207ff1135a585a489357cd38c16de6f29341ca691
BLAKE2b-256 checksum
How to use checksums
db6fe2f3dc5d08532a2545788a3fafd811a992e56a7bc6bdb4009f336683a814
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / lib1305-20250415.1-py3-none-any.whl

Download URL lib1305-20250415.1-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b76597b6a94b6f8dffb2d5dcf5e0c0b57370efd47b4a9adc84e64fcbd284ce4
BLAKE2b-256 checksum
How to use checksums
961892408dc01bfd2154e518baec2c80dc9ed9a3ad752f12e14971a10f5b1a97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for lib1305 20250415.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page