Skip to content

Instantly share code, notes, and snippets.

@vKxni
Created December 17, 2022 12:00
Show Gist options
  • Save vKxni/50070e2b14838fc90711146bea7d6d55 to your computer and use it in GitHub Desktop.
Save vKxni/50070e2b14838fc90711146bea7d6d55 to your computer and use it in GitHub Desktop.
Random Strong bytes
-module(bits).
-export([gen/0]).
gen() ->
P = crypto:strong_rand_bytes(16),
io:format("~p~n", [P]),
gen().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment