Decrypt
Recover the original payload from an envelope.
~ 1 min read
POST /v1/decryptRequest
envelope string body required The envelope returned by /encrypt.
Response
payload string The original data, decoded.
Request example
curl https://api.example.com/v1/decrypt \
-H "Authorization: Bearer $CIPHER_KEY" \
-d '{"envelope": "v2:Ks7...=="}'
Response example
{ "payload": "secret note" }
Last updated
Edit this page