Decrypt
Returns
Decrypt content with the account the content was encrypted for. This will return the decrypted content.
Usage
Required parameters
Optional parameters
In addition to the required parameters above, an object of optional parameters can be passed following the content like so:
encryption.decrypt(account, content,
{as_hex: false}
)
as_hex - boolean
Default: true
Should be set to true to decrypt content that was a hexadecimal representation of the object.
as_string - boolean
Default: true
Should be set to true if the content to decrypt is a string. If as_hex is set to true, as_string will be ignored.
Example
DECRYPT REQUEST
RESPONSE
Last updated