first commit

This commit is contained in:
2023-05-21 15:05:39 -04:00
commit 47c2c79f7f
5 changed files with 29 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
#[cfg(feature = "naive")]
pub mod naive;
+2
View File
@@ -0,0 +1,2 @@
+9
View File
@@ -0,0 +1,9 @@
pub trait Signer<S> {
fn gen() -> Self;
fn sign(&self, msg: &[u8]) -> S;
}
pub trait Verifier<S> {
fn verify(&self, sig: &S, msg: &[u8]) -> bool;
}