Lyricdev
GitHub

class Md5

pub class Md5 :: [Digest]

Conforms to Digest.

MD5 (RFC 1321): 16 bytes of hash over blocks of 64. Not collision-resistant: use it only where a format requires it, never where an attacker chooses the input.

Constants

pub static let size: int = 16
pub static let blockSize: int = 64

Methods

pub static fn new(): Md5
pub mut fn update(bytes: Slice<uint8>): void
pub fn finish(): uint8[]