c4k-common/src/main/cljs/dda/c4k_keycloak/base64.cljs

12 lines
179 B
Text
Raw Normal View History

2021-06-18 13:49:43 +00:00
(ns dda.c4k-keycloak.base64
(:require
["js-base64" :as b64]))
(defn encode
[string]
(.encode b64/Base64 string))
(defn decode
[string]
(.decode b64/Base64 string))