Another portable implementation, by Pierre R. Mai, which has been highly bummed for CMUCL with copious input from other developers and users on the cmucl-help mailing list, is available from https://pmsf.eu/resources/lisp/MD5.html.
and also (adjusted for SBCL compatibility) in SBCL contrib as sb-md5 - just (require :asdf) and (require :sb-md5) to load it.
and also as a Debian package (stale) thanks to Kevin Rosenberg.
Note that MD5 collisions have been found: Xiaoyun Wang and Dengguo Feng and Xuejia Lai and Hongbo Yu: Collisions for Hash Functions MD4, MD5, HAVAL-128 and RIPEMD, so you should consider SHA1 instead.
cryptography