EncryptedObject

EncryptedObject[assoc]

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
  • EncryptedObject[]["Parameters"] gives all the information contained in the object as an association.
  • EncryptedObject[]["Properties"] gives a list of available properties.
  • 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:

Get a property of the encrypted object:

Get all the information contained in an EncryptedObject:

Wolfram Research (2015), EncryptedObject, Wolfram Language function, https://reference.wolfram.com/language/ref/EncryptedObject.html (updated 2020).

Text

Wolfram Research (2015), EncryptedObject, Wolfram Language function, https://reference.wolfram.com/language/ref/EncryptedObject.html (updated 2020).

BibTeX

@misc{reference.wolfram_2020_encryptedobject, author="Wolfram Research", title="{EncryptedObject}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/EncryptedObject.html}", note=[Accessed: 11-May-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_encryptedobject, organization={Wolfram Research}, title={EncryptedObject}, year={2020}, url={https://reference.wolfram.com/language/ref/EncryptedObject.html}, note=[Accessed: 11-May-2021 ]}

CMS

Wolfram Language. 2015. "EncryptedObject." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/EncryptedObject.html.

APA

Wolfram Language. (2015). EncryptedObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EncryptedObject.html