/DECRYPT

/DECRYPT, Key1, Key2
Controls decryption of command input.

Valid Products: Pro | Premium | Enterprise | PrepPost | Solver | AS add-on

Key1

Key to decrypt the encrypted input created by /ENCRYPT. The only valid label is PASSWORD.

Key2

Key to decrypt the encrypted input or to set the global encryption key. The following are valid inputs:

  • If Key2 = OPENSSL or is blank, then decryption commences and the previously set global encryption key is used for decryption.

  • If Key2 has a value, then that value is set as the global encryption key.

  • If Key2 = OFF, then the global encryption password previously set by the command /DECRYPT,PASSWORD,Key2 is reset.

Notes

When decrypting an encrypted input, /DECRYPT,PASSWORD,OPENSSL must appear as the first line of the encrypted file. The line is inserted automatically when you issue /ENCRYPT to create the encrypted file.

To read an encrypted file, enter /DECRYPT,PASSWORD,Key2 anywhere in the standard input file to set the global encryption key. The encryption key must be set before reading in the encrypted input.

/DECRYPT is also valid when entered in the Command Input Window of the Mechanical APDL user interface.

See Encrypting Command Input and Other Data in the Ansys Parametric Design Language Guide for more information about using /DECRYPT and performing encryption and decryption.

Menu Paths

This command cannot be accessed from a menu.