Search
Implementation for Cryptography.Utils functions.
Cryptography.Utils
@type hash() :: String.t()
@type key() :: String.t()
@type opts() :: Keyword.t()
@type str() :: String.t()
@spec bin_to_hex(key_bin :: binary()) :: key()
@spec blake2b_hash(str :: str(), opts :: opts()) :: binary()
@spec hex_to_bin(key :: key()) :: binary()
@spec url_decode64(hash :: hash()) :: binary()
@spec url_encode64(hash_bin :: binary()) :: hash()