Current section
Files
Jump to
Current section
Files
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