(decrypt-text encrypted)
(decrypt-text encrypted key)
(decrypt-text encrypted key {:keys [format] :or {format :base-64}})
decrypts text based on key
(decrypt-text "2OJZ7B2JpH7Pa5p9XpDc6w==" -key-) => "hello"
(decrypt-text "d8e259ec1d89a47ecf6b9a7d5e90dceb" -key- {:format :hex}) => "hello"
decrypts text based on key (decrypt-text "2OJZ7B2JpH7Pa5p9XpDc6w==" -key-) => "hello" (decrypt-text "d8e259ec1d89a47ecf6b9a7d5e90dceb" -key- {:format :hex}) => "hello"
(encrypt-text text)
(encrypt-text text key)
(encrypt-text text key {:keys [format] :or {format :base-64}})
encrypts text based on key
(encrypt-text "hello" -key-) => "2OJZ7B2JpH7Pa5p9XpDc6w=="
(encrypt-text "hello" -key- {:format :hex}) => "d8e259ec1d89a47ecf6b9a7d5e90dceb"
encrypts text based on key (encrypt-text "hello" -key-) => "2OJZ7B2JpH7Pa5p9XpDc6w==" (encrypt-text "hello" -key- {:format :hex}) => "d8e259ec1d89a47ecf6b9a7d5e90dceb"
(global)
(global k)
(global k {:keys [cached]})
returns the entire global map
(global :all)
returns the entire global map (global :all)
(load)
(load file)
helper function for file resolvers
(load "dev/test/hara.config/config.edn") => map?
helper function for file resolvers (load "dev/test/hara.config/config.edn") => map?
(resolve form)
(resolve form key)
helper function for resolve
(resolve 1) => 1
(resolve [:str ["hello" " " "there"]]) => "hello there"
helper function for resolve (resolve 1) => 1 (resolve [:str ["hello" " " "there"]]) => "hello there"
(resolve-key key)
resolves the key for decryption
(def -key- (resolve-key "3YO19A4QAlRLDc8qmhLD7A==")) => #'-key-
resolves the key for decryption (def -key- (resolve-key "3YO19A4QAlRLDc8qmhLD7A==")) => #'-key-
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close