Compute md5 Digest Of A String
To compute the md5 digest of a string, we can use Erlang's top-level md5
function.
This, however, gives us the result in the raw binary representation. We would like it in a base 16 encoding, as md5 digests tend to be.
We can wrap (or pipe) this with Base.encode16
to get the result we are looking for.
Last updated