Skip to main content

Pylamport

A python library for producing lamport signatures.

Lamport signatures can be constructed with any secure one-way function (usually a hash).

Anything in hashlib (for example, hashlib.sha256) is supported.

Example usage

Generating keys:

keys = pylamport.Lamport().gen()

Signing a message:

identity = pylamport.Lamport()
signature = identity.sign("Hello, world!")

Verifiying a signature:

identity = pylamport.Lamport()
identity.verify(signature)

Exporting keys:

identity = pylamport.Lamport()
keys = identity.export()

Warnings

This project was written in less than a few hours, so it may contain mistakes and/or bugs.

Metadata

Release files for pylamport 0.2

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

Source distribution (sdist)

Source distribution for pylamport 0.2
File Size Uploaded Provenance Actions
pylamport-0.2.tar.gz 4.0 kB Without provenance Details for pylamport-0.2.tar.gz

Release files / pylamport-0.2.tar.gz

Download URL pylamport-0.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
44358b7eec60f77ff3a08eddfe86b9ca96a20da73585dc7469b14220889a880b
BLAKE2b-256 checksum
How to use checksums
43c3aac507c381b8e21bd8d1ac27a77b51300ad662972652604a2028cdd2a2c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for pylamport 0.2

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.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

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