MD5 in erlang.

Matthias Lang <>
Wed Mar 26 21:34:39 CET 2003


Jeff Einhorn writes:

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

No BIF, but there's httpd_util:integer_to_hexlist/1. See 

  http://www.erlang.org/doc/r9b/lib/inets-3.0/doc/html/httpd_util.html

Various people have posted patches to allow io:fwrite to do it, e.g.

  http://www.erlang.org/ml-archive/erlang-questions/200211/msg00208.html
  http://www.erlang.org/ml-archive/erlang-questions/200110/msg00148.html

Matthias



More information about the erlang-questions mailing list