Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)
BUILT-IN WOLFRAM LANGUAGE SYMBOL

EncryptedObject

EncryptedObject[]
represents encrypted data generated by Encrypt.

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples  (1)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]=
Introduced in 2015
(10.1)