On this page:
md5

9 MD5 Message Digest🔗ℹ

 (require file/md5) package: base

See openssl/md5 for a faster implementation with a slightly different interface.

procedure

(md5 in [hex-encode?])  bytes?

  in : (or/c input-port? bytes? string?)
  hex-encode? : boolean? = #t
If hex-encode? is #t, produces a byte string containing 32 hexadecimal digits (lowercase) that is the MD5 hash of the given input stream or byte string. Otherwise produces the 16 byte long byte string that is the MD5 hash of the given input stream or byte string.

Examples:
> (md5 #"abc")

#"900150983cd24fb0d6963f7d28e17f72"

> (md5 #"abc" #f)

#"\220\1P\230<\322O\260\326\226?}(\341\177r"