EncryptedObject

EncryptedObject[]

represents encrypted data generated by Encrypt.

Details

  • EncryptedObject[]["prop"] yields properties of the encrypted object. Possible properties include:
  • "Data"encrypted data as a ByteArray object
    "InitializationVector"initialization vector
    "OriginalForm"the form of expression provided to Encrypt
  • Normal[EncryptedObject[]] gives a ByteArray[] object containing raw bytes suitable for transmission to external programs. (Note that for most methods, decryption requires both the key and the initialization vector.)
  • Possible values for the "OriginalForm" property are "Expression", "String", and "ByteArray". The setting for "OriginalForm" determines the form of expression produced by Decrypt when applied to the EncryptedObject.

Examples

Basic Examples  (1)

Get an encrypted object by encrypting:

In[1]:=
Click for copyable input
Out[1]=

Get a property of the encrypted object:

In[2]:=
Click for copyable input
Out[2]=

See Also

Encrypt  Decrypt  ByteArray

Introduced in 2015
(10.1)