I want something as simple as \"string\" -> base64. With the older base64.encode-str it was easy (and sounded \"more clojure\", but the newer clojure.data.codec.base64
clojure.data.codec.base64
You can use encode function and pass array of bytes:
(encode (.getBytes "Hello world!"))