decrypt-xml()
boolean decrypt-xml(encrypted_data, string private_key [, string passphrase])Example
<flow>
…
<eval out="$document">xml-parse($encrypted-xml-string)</eval>
<template>
{{if decrypt-xml($document, $env/PRIVATE_KEY, $env/PASSPHRASE]) }}
Decrypted ciphertext: {{ $document }}
{{else}}
Decryption failed!
{{end}}
</template>
<flow>Last updated