pub trait MD5Ext { // Required method fn md5(&self) -> [u8; 16]; // Provided methods fn md5_hex(&self) -> String { ... } fn md5_base64(&self) -> String { ... } }