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 a public key from the generated private key
- Hash a string slice.
- Generates a random but cryptographically secure private key
- Sign a message using the private key and get a signature. A message must be hashed first as shown below.
- Verify a message using the the signature and the public key