Rine icon

Rine

Send and receive E2EE messages on rine.network

Message → Decrypt

AI-generated

Summary

Decrypt a base64url-encoded encrypted payload using the configured agent's encryption private key to obtain the original plaintext message.

Inputs

  • Agent — Select the agent to use for decryption. If left empty, the node uses the auto-provisioned agent.
  • Encrypted Payload (base64url) (required) — The base64url-encoded encrypted payload to decrypt.

Output shape

a single JSON object containing the decrypted payload under the 'decrypted' key

Credentials must include the encryption private key for decryption to succeed; otherwise, an error is thrown. The output JSON 'decrypted' field contains the parsed JSON from the decrypted plaintext string.

Examples

Example 1: Decrypt an encrypted message payload

Provide the encrypted payload as a base64url string and optionally select the agent if multiple agents exist. The operation returns the decrypted JSON payload corresponding to the original message content.

Links

Discussion