cas-lib 0.2.77

A function wrapper layer for RustCrypto and Dalek-Cryptography. Intended to be used in FFI situations with a global heap deallactor at the top level project.
Documentation
1
2
3
4
pub trait CASHMAC {
    fn sign(key: Vec<u8>, message: Vec<u8>) -> Vec<u8>;
    fn verify(key: Vec<u8>, message: Vec<u8>, signature: Vec<u8>) -> bool;
}