Last active
October 21, 2021 09:11
-
-
Save inscapist/5d1f0db8c96b2d1904cb7f9f881f83f9 to your computer and use it in GitHub Desktop.
Generate random cryptographic nonce/salt with buddy, in clojure
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
(-> 16 | |
nonce/random-bytes | |
codecs/bytes->b64u | |
codecs/bytes->str) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment