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)
Installed Size: 32.8 kB
Architectures: all