Expand description
LSIG is a straightforward implementation of Lamport signatures designed for quantum-resistant digital signatures. Private and public key pairs can be created. A message can be signed using the private key to generate a signature, and then the message can be verified using the signature and the public key.
Structs§
Functions§
- create_
public_ key - Create a public key from the generated private key
- hash
- Hash a string slice.
- random_
private_ key - Generates a random but cryptographically secure private key
- sign
- Sign a message using the private key and get a signature. A message must be hashed first as shown below.
- verify
- Verify a message using the the signature and the public key