fn hexdigest(&self) -> ~str { let mut acc = ~""; for &byte in self.digest.iter() { acc.push_str(fmt!("%02x", byte as uint)); } acc }