Commit Graph

4 Commits

Author SHA1 Message Date
d45356c9ed Re-generate documentation. 2017-02-15 23:08:16 +01:00
249234caca Adopting Hashable trait.
* Remove useless T: AsRef<[u8]> constraint in Lemma.

* Introduce a custom `Hashable` trait instead of requiring `AsRef<[u8]>`.

Since not every type can implement `AsRef<[u8]>`,
this commit removes that constraint, and requires instead
that values implement the `Hashable` trait.

A default instance is provided for types that already implements `AsRef<[u8]>`.

* Update documentation.

* Add a Protobuf test with custom struct and Hashable impl.
2016-12-20 10:23:07 +01:00
b4cd7537b5 Implement inclusion proof generation and verification. 2016-11-16 15:34:29 +01:00
9e51e4c3f9 fix docs directory 2016-11-11 19:47:02 +01:00