Created
October 11, 2023 01:01
-
-
Save chiroptical/a326edc02d0a11d3ca75228bcc7b02c7 to your computer and use it in GitHub Desktop.
Elixir warning
This file contains 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
W def random_code() do ■ Function random_code/0 has no local return | |
┆ :crypto.strong_rand_bytes(5) | |
┆ |> Base.encode32(padding: false, lower: true) | |
┆ end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment