Skip to content

Instantly share code, notes, and snippets.

@ourway
Created February 12, 2017 19:39
Show Gist options
  • Select an option

  • Save ourway/9b57a26bb499d5822d685c2700b3907c to your computer and use it in GitHub Desktop.

Select an option

Save ourway/9b57a26bb499d5822d685c2700b3907c to your computer and use it in GitHub Desktop.
Md5 in Elixir
defmodule Crypto do
def md5(data) do
Base.encode16(:erlang.md5(data), case: :lower)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment