Translations: Messages/2/en

From ArdorDocs
Jump to: navigation, search

Request:

  • requestType is decryptFrom
  • secretPhrase (S) is the secret passphrase of the recipient
  • privateKey (S) is the privateKey (hex) of the derived account (HD wallet, refer to: Getting the private key from the derived account)
  • account is the account ID of the message sender (the account which encrypted the message)
  • data is AES-encrypted data
  • nonce is the unique nonce associated with the encrypted data
  • decryptedMessageIsText is false if the decrypted message is a hex string, otherwise the decrypted message is text (optional)
  • uncompressDecryptedMessage is false to prevent gzip uncompression after decryption (optional)