How to do MD5

Timur Irmatov <>
Tue Dec 20 07:49:01 CET 2005


On 12/20/05, Bengt Kleberg <> wrote:
> > I think there is BIF md5("hi"). But do I need to include any header
> > file, or install any patches? Also what is the equivalent of "print"
> > statement in Erlang? I need it for debugging.
>
> the md5 function is available in the crypto module:
> http://www.trapexit.org/docs/man_page.yaws?page=man_R10B-7/man3/crypto.3

There are also BIFs that compute md5 in standard erlang module:

http://erlang.se/doc/doc-5.4.12/lib/kernel-2.10.12/doc/html/index.html


--
Timur Irmatov, xmpp:



More information about the erlang-questions mailing list