Trait MD5Ext

Source
pub trait MD5Ext {
    // Required method
    fn md5(&self) -> [u8; 16];

    // Provided methods
    fn md5_hex(&self) -> String { ... }
    fn md5_base64(&self) -> String { ... }
}

Required Methods§

Source

fn md5(&self) -> [u8; 16]

Provided Methods§

Source

fn md5_hex(&self) -> String

Source

fn md5_base64(&self) -> String

Implementors§

Source§

impl<T> MD5Ext for T
where T: AsRef<[u8]>,