Home

Decrypt an AES-encrypted message

POST
https://ardr.nownodes.io/nxt

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsobjectrequired
Show child attributes
requestTypestring
secretPhrasestring

The secret passphrase of the recipient

privateKeystring

The privateKey (hex) of the derived account

accountstring

The account ID of the message sender

datastring

AES-encrypted data

noncestring

The unique nonce associated with the encrypted data

decryptedMessageIsTextboolean

False if the decrypted message is a hex string, otherwise the decrypted message is text

uncompressDecryptedMessageboolean

False to prevent gzip uncompression after decryption

idintegerrequired

Response

200OK

Message decrypted successfully

400Bad Request

Bad Request

401Unauthorized

Unauthorized — Missing or invalid API key

500Internal Server Error

Internal Server Error