1
2
3
4
5
6
7
8
9
pub mod error;
pub mod hash;

pub use crate::signing::error::Error;

pub trait Signer {
    fn sign(&self, message: &[u8]) -> Result<Vec<u8>, Error>;
    fn public_key(&self) -> &[u8];
}