asciinema.org/lib/asciinema/crypto.ex

6 lines
100 B
Elixir
Raw Normal View History

2016-10-08 15:34:51 +00:00
defmodule Crypto do
def md5(data) do
Base.encode16(:erlang.md5(data), case: :lower)
end
end