Sign messages with ease
Project description
signpy
Sign messages with ease
Quickstart
import signpy
key = signpy.generate() # generates a secret key
signer = signpy.SigningKey(key)
signature = signer.sign(b"Hello, world!")
public_key = signer.public_key
verifier = signpy.VerifyingKey(public_key)
verifier.verify(b"Hello, world!", signature) # True
verifier.verify(b"Goodbye, world!", signature) # False
verifier = signer.verifier
verifier.verify(b"Hello, world!", signature) # True
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
signpy-0.2.0.tar.gz
(60.3 kB
view details)
Built Distribution
File details
Details for the file signpy-0.2.0.tar.gz
.
File metadata
- Download URL: signpy-0.2.0.tar.gz
- Upload date:
- Size: 60.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03675ae70f9f0532f4ed56346dbf8cc8b1da9466a477d799f4e8edb0682ef7de |
|
MD5 | 18cc706f0071c53c8bf76a990dd07e93 |
|
BLAKE2b-256 | 3ed7ae75fdbb68d47909a1016030673f98fb7a01ed3dfa57cf239dbaa2df68a0 |
File details
Details for the file signpy-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: signpy-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 266.5 kB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36903e33764fe7961e3b1f4e244d0f28b6215121b734e02b0588c2c998c323b7 |
|
MD5 | 9ff228fd9bd4ae0532a07bddbec64b4e |
|
BLAKE2b-256 | 251959b8a28c88e3b84e6ad00425a3edab975477fc99342a147a969050e7fbc0 |