Module for computing MD5 checksums.
Procs
proc md5Init(c: var MD5Context) {.raises: [], tags: [].}
- initializes a MD5Context Source
proc md5Update(c: var MD5Context; input: cstring; len: int) {.raises: [], tags: [].}
- updates the MD5Context with the input data of length len Source
proc md5Final(c: var MD5Context; digest: var MD5Digest) {.raises: [], tags: [].}
- finishes the MD5Context and stores the result in digest Source
proc toMD5(s: string): MD5Digest {.raises: [], tags: [].}
- computes the MD5Digest value for a string s Source
proc `$`(d: MD5Digest): string {.raises: [], tags: [].}
- converts a MD5Digest value into its string representation Source
proc getMD5(s: string): string {.raises: [], tags: [].}
- computes an MD5 value of s and returns its string representation Source
proc `==`(D1, D2: MD5Digest): bool {.raises: [], tags: [].}
- checks if two MD5Digest values are identical Source