'\"
'\" Generated from ../tcllib/modules/md5/md5.man by mpexpand with fmt.nroff
'\"
.so man.macros
.TH "md5" n 1.4.2 md5 "Perform md5 hashing"
.BS
.SH NAME
md5 \- md5 hash
.SH "SYNOPSIS"
package require \fBTcl 8.2\fR
.sp
package require \fBmd5 1.4.2\fR
.sp
\fB::md5::md5\fR \fImsg\fR\fR
.sp
\fB::md5::hmac\fR \fIkey\fR \fItext\fR\fR
.sp
.BE
.SH "DESCRIPTION"
.PP
This package provides commands to compute a MD5 digests of arbitrary
messages.
.SH "COMMANDS"
.TP
\fB::md5::md5\fR \fImsg\fR\fR
The command takes a message and returns the MD5 digest of this message
as a hexadecimal string.
.TP
\fB::md5::hmac\fR \fIkey\fR \fItext\fR\fR
The command takes a key string and a text and returns the hmac of the
text under the chosen key as a hexadecimal string.
.SH "EXAMPLES"
.PP
.nf
% md5::md5 "hello world"
5eb63bbbe01eeed093cb22bb8f5acdc3
.fi
.PP
.nf
% md5::hmac "our little secret" "hello world"
61a922114c8aaf5050098be6d3a7daf0
.fi
.PP
.SH "KEYWORDS"
md5, hashing, security
