We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9884a44 commit b4658feCopy full SHA for b4658fe
vrf/src/lib.rs
@@ -1,7 +1,7 @@
1
use digest::{Output, OutputSizeUser};
2
3
pub trait Proof<H>
4
-where
+where
5
H: OutputSizeUser,
6
{
7
fn to_hash(&self) -> Output<H>;
@@ -12,7 +12,7 @@ where
12
13
14
type Proof: Proof<H>;
15
-
+
16
fn prove(&self, alpha: &[u8]) -> Self::Proof;
17
}
18
@@ -21,6 +21,6 @@ where
21
22
23
24
25
fn verify(&self, alpha: &[u8], proof: Self::Proof) -> bool;
26
0 commit comments