We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed8fa9e commit 195afacCopy full SHA for 195afac
lib/helper/crypto.ex
@@ -734,12 +734,12 @@ defmodule MishkaDeveloperTools.Helper.Crypto do
734
key_base
735
|> Plug.Crypto.sign(salt, data, opts)
736
end
737
+ end
738
- @doc false
739
- def random_key_base(length \\ 64) when length > 31 do
740
- :crypto.strong_rand_bytes(length)
741
- |> Base.encode64(padding: false)
742
- |> binary_part(0, length)
743
- end
+ @doc false
+ def random_key_base(length \\ 64) when length > 31 do
+ :crypto.strong_rand_bytes(length)
+ |> Base.encode64(padding: false)
+ |> binary_part(0, length)
744
745
0 commit comments