MD5 in erlang.

Jeff Einhorn <>
Wed Mar 26 20:58:28 CET 2003


I was wondering if erlang had any built-in tools to generate an MD5 Hash
that looks similiar what is generated by md5sum on linux.

Example if I do an md5sum on the string "hello" I get:
b1946ac92492d2347c6235b4d2611184

erlang:md5("hello").
<<93,65,64,42,188,75,42,118,185,113,157,145,16,23,197,146>>

Does erlang have any built in functions for converting binary to hex?
	-jeff

Jeffrey M. Einhorn
Software Engineer
Web Development Group
FutureSource, LLC

http://www.futuresource.com




More information about the erlang-questions mailing list