« 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.