Current section

Files

Jump to
exd_streams lib exd_streams plugins utils.ex
Raw

lib/exd_streams/plugins/utils.ex

defmodule ExdStreams.Plugins.Utils do
@moduledoc """
Utils
"""
def hash_state(state) when is_binary(state) do
:crypto.hash(:md5, state) |> Base.encode16(case: :lower)
end
end