mirror of
https://github.com/mii443/lamport_sigs.rs.git
synced 2025-08-22 15:05:49 +00:00
e27418c384de325869ca9fc59568f34c026fdee8
- If `one_values: Vec<Vec<u8>>` is different in `len()` than `zero_values`, the code can either panic, or it's possible different `PrivateKey`s are evaluated as equal. In both these examples, at least one key would be of invalid structure, but there's nothing about the `PrivateKey` struct that enforces valid structure in this sense. Perhaps this is an argument to create key-length-specific types*. - Algorithm equality is now checked. * E.g., ```rust pub struct PrivateKey512 { zero_values: [[u8; 512 / 8]; 512], one_values: [[u8; 512 / 8]; 512], // ... } ```
lamport_sigs
lamport_sigs is a Rust implementation of the Lamport one-time signature scheme.
Documentation
Documentation is available.
Bug Reporting
Please report bugs either as pull requests or as issues in the issue tracker. lamport_sigs has a full disclosure vulnerability policy. Please do NOT attempt to report any security vulnerability in this code privately to anybody.
License
See LICENSE.
Description
Languages
Rust
99.5%
Makefile
0.5%