asciinema.org/lib/asciinema/crypto.ex
2017-06-02 15:14:49 +02:00

6 lines
100 B
Elixir

defmodule Crypto do
def md5(data) do
Base.encode16(:erlang.md5(data), case: :lower)
end
end