dbdecrypt#
- EncryptionDecryption.dbdecrypt(keya='', keyb='', datatype='', num1='', num2='', inc='', **kwargs)#
Controls decryption of material data in the database file.
Mechanical APDL Command: /DBDECRYPT
- Parameters:
- keya
str
Decryption key A (32-character maximum). This key is used to decrypt the data in a one-level encryption or to control access to the data in a two-level encryption. Leave this field blank if you do not have key A.
- keyb
str
Decryption key B (32-character maximum). This key is used to decrypt the data in a two-level encryption. Leave this field blank if the database file is encrypted with one-level encryption.
- datatype
str
Type of data to decrypt. Must be set to MAT for material data.
- num1
str
Decrypt materials from material number
NUM1
toNUM2
(defaults toNUM1
) in steps ofINC
(defaults to 1). IfNUM1
= ALL (default),NUM2
andINC
are ignored.- num2
str
Decrypt materials from material number
NUM1
toNUM2
(defaults toNUM1
) in steps ofINC
(defaults to 1). IfNUM1
= ALL (default),NUM2
andINC
are ignored.- inc
str
Decrypt materials from material number
NUM1
toNUM2
(defaults toNUM1
) in steps ofINC
(defaults to 1). IfNUM1
= ALL (default),NUM2
andINC
are ignored.
- keya
Notes
This command decrypts data in the database file. It must be issued before resuming the database file ( resume command). Only
KeyA
is required for a one-level encryption. For a two-level encryption, inputtingKeyB
gives you partial access to the data. Inputting bothKeyA
andKeyB
gives you full access.For more information about using dbdecrypt in the encryption/decryption procedure, see Encrypting Material Data dbencrypt command.
This command is valid in any processor.