v1

latestOpenAPI 3.1.02026-07-17283353.4 KB
HTTPWalletJSON

Decrypts data

post/decrypt

Request body

seekPermissionboolean
ciphertextinteger[]
keyIDstring
privilegedReasonstring
counterpartystring
privilegedboolean

Example request

{
  "ciphertext": [
    47,
    102,
    55,
    54,
    51,
    52,
    42,
    38,
    9
  ],
  "protocolID": [
    0,
    "todo token"
  ],
  "keyID": "1",
  "privilegedReason": "extra secure",
  "counterparty": "self"
}

Response

The decrypted data

plaintextinteger[]

Example response

{
  "plaintext": [
    115,
    101,
    99,
    114,
    101,
    116,
    115
  ]
}