1 2 3 4 5 6 7 8 9 10 11 12
// default rust implementation for crypto use super::crypto::Crypto; pub struct RustCrypto {} impl Crypto for RustCrypto { fn encrypt_aes(&self, _buffer:&[u8]) -> Vec<u8> { todo!() } }