-
-
Save sjava/8af79af99823bd483583fd7ef6eb8b67 to your computer and use it in GitHub Desktop.
Md5 in Elixir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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