Trait ricq_core::crypto::IEncryptMethod
source · pub trait IEncryptMethod {
fn id(&self) -> u8;
fn do_encrypt(&self, data: &[u8], key: &[u8]) -> Vec<u8>;
}
pub trait IEncryptMethod {
fn id(&self) -> u8;
fn do_encrypt(&self, data: &[u8], key: &[u8]) -> Vec<u8>;
}