chickadee » openssl » string-encrypt-and-digest

string-encrypt-and-digest cipher str key iv #!rest optionsprocedure

Convenience procedure to perform authenticated encryption using the AEAD cipher object cipher on str, using key and iv as parameters. Extra parameters are set with options. All parameters are passed to cipher-context-init! and follow its documentation. Returns the encrypted string and a tag blob, both of which can be passed to the string-decrypt-and-verify procedure.