Python wrapper around implementation of the Poly1305 one-time authenticator
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lib1305-20250415.1.tar.gz.
File metadata
- Download URL: lib1305-20250415.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc4639e9774cc977b6c4294207ff1135a585a489357cd38c16de6f29341ca691
|
|
| MD5 |
29d4a6cb4aa3990c6ef6cbeae0c2f0dd
|
|
| BLAKE2b-256 |
db6fe2f3dc5d08532a2545788a3fafd811a992e56a7bc6bdb4009f336683a814
|
File details
Details for the file lib1305-20250415.1-py3-none-any.whl.
File metadata
- Download URL: lib1305-20250415.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b76597b6a94b6f8dffb2d5dcf5e0c0b57370efd47b4a9adc84e64fcbd284ce4
|
|
| MD5 |
905482cc259922032cd42d5935e40d13
|
|
| BLAKE2b-256 |
961892408dc01bfd2154e518baec2c80dc9ed9a3ad752f12e14971a10f5b1a97
|