docs/docs/build/rpc-api/wallet-rpc-api/decrypt_data.md
zano build machine 6ceae97a1f Auto generated doc
2026-03-12 18:21:38 +03:00

680 B

Trivially decrypt base64 encoded data message with chacha using wallet spend key

URL: http:://127.0.0.1:11211/json_rpc

Request:

{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "decrypt_data",
  "params": {
    "buff": "ZGNjc2Ztc2xrZm12O2xrZm12OydlbGtmdm0nbGtmbXY="
  }
}

Request description:

    "buff": base64 encoded data message to be decrypted

Response:

{
  "id": 0,
  "jsonrpc": "2.0",
  "result": {
    "res_buff": "ZGNjc2Ztc2xrZm12O2xrZm12OydlbGtmdm0nbGtmbXY="
  }
}

Response description:

    "res_buff": base64 encoded resulted data message

Auto-doc built with: 2.2.0.461[d830c07]