Created
August 24, 2016 15:36
-
-
Save tvanhens/d9508a0956d868e75012f6598b4ace8f to your computer and use it in GitHub Desktop.
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
user> (import '[java.util Base64]) | |
;; java.util.Base64 | |
user> (.encodeToString (Base64/getEncoder) (byte-array (map byte "Hello"))) | |
;; "SGVsbG8=" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment