first commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
#[cfg(feature = "naive")]
|
||||
pub mod naive;
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user