| Crates.io | lsig |
| lib.rs | lsig |
| version | 0.1.3 |
| created_at | 2024-04-05 10:34:10.372757+00 |
| updated_at | 2024-04-07 06:12:33.96762+00 |
| description | This crate provides functionalities for generating private and public key pairs and signing messages using those keys. |
| homepage | |
| repository | https://github.com/amschel99/lsig |
| max_upload_size | |
| id | 1197217 |
| size | 9,204 |
LSIG is a simple implementation of Lamport signatures designed for quantum-resistant digital signatures. Here's how it operates:
Private Key Generation:
Public Key Derivation:
Message Signing:
To sign a message, it is first hashed using a secure hash function (e.g., SHA-256).
The hash value is then used to reveal preimages based on the bit representation of the message.
These preimages serve as the signature blocks.
Signature Verification: