Noah Vesely e27418c384 Fix PartialEq for PrivateKey
- 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],
    // ...
}
```
2018-03-19 21:52:36 +01:00
2018-03-19 21:52:36 +01:00
2016-11-08 18:23:27 +01:00
2016-11-11 13:46:50 +01:00
2017-09-24 23:08:18 +02:00
2016-11-09 22:52:34 +01:00
2016-11-11 13:46:50 +01:00
2016-11-08 18:23:27 +01:00

lamport_sigs

Build Status Available on Crates.io as lamport_sigs License

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
No description provided
Readme BSD-3-Clause 661 KiB
Languages
Rust 99.5%
Makefile 0.5%