3 ms·
Note that that loop function now looks like (the for loop has changed since 0.7): fn hexdigest(&self) -> ~str { let mut acc = ~""; for &byte in
by dbaupp 13y ago
Note that that loop function now looks like (the for loop has changed since 0.7):
fn hexdigest(&self) -> ~str {
let mut acc = ~"";
for &byte in self.digest.iter() {
acc.push_str(fmt!("%02x", byte as uint));
}
acc
}