CrossClj

0.2.3 docs

SourceDocs



RECENT
    VARS
    decrypt<
    decrypt>
    encrypt<
    encrypt>

    « Index of all namespaces of this project

    Middleware to perform AES encryption and decryption on core.async messages
    using a pre-shared key.
    (decrypt< key source-channel)
    Reads strings from the given source channel, Base64 decodes them,
    and outputs them to the returned channel.
    (decrypt> key target-channel)
    Returns a new channel that accepts strings, Base64 decodes them,
    and outputs them to the given target channel.
    (encrypt< key source-channel)
    Accepts byte arrays or Strings on the given channel, encrypts them with the given key, then
    outputs the resulting byte arrays to the returned channel.
    (encrypt> key target-channel)
    Returns a new channel that accepts arbitrary Clojure data, Base64 encodes it, 
    and outputs it to the given target channel.