racket/collects/file/doc/md5.scrbl
2007-12-29 19:27:05 +00:00

19 lines
382 B
Racket

#lang scribble/doc
@(require "common.ss"
scribble/eval
file/md5
(for-label file/md5))
@title{MD5 Message Digest}
@defmodule[file/md5]
@defproc[(md5 [in (or/c input-port? bytes?)]) bytes?]{
Produces a byte string containing 32 hexadecimal digits (lowercase)
that is the MD5 hash of the given input stream or byte string.
@examples[
(md5 #"abc")
]}