Trait taple_core::crypto::DSA
source · pub trait DSA {
// Required methods
fn sign(&self, payload: Payload) -> Result<Vec<u8>, Error>;
fn verify(&self, payload: Payload, signature: &[u8]) -> Result<(), Error>;
}
Expand description
Used for Digital Signature Algorithm (DSA)