Liking cljdoc? Tell your friends :D
Clojure only.

lore.api.async


IAsyncSecretStorecljprotocol

decryptclj

(decrypt this ciphertext)

Decrypt ciphertext. Returns a promise channel that will yield a map that contains key :plaintext with the decrypted plaintext, or an error map.

Ciphertext may be a base-64 encoded string, byte array, or a java.nio.ByteBuffer. The returned plaintext will be a byte array.

Decrypt ciphertext. Returns a promise channel that will yield a
map that contains key :plaintext with the decrypted plaintext,
or an error map.

Ciphertext may be a base-64 encoded string, byte array, or a
java.nio.ByteBuffer. The returned plaintext will be a
byte array.

error?clj

(error? this result)

Tell if result is an error. Errors are anomalies as defined in the cognitect.anomalies library.

Tell if result is an error. Errors are anomalies as defined in
the cognitect.anomalies library.
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close