dbencrypt#
- EncryptionDecryption.dbencrypt(keya='', keyb='', datatype='', num1='', num2='', inc='', **kwargs)#
Controls encryption of material data in the database file.
Mechanical APDL Command: /DBENCRYPT
- Parameters:
- keya
str Encryption key A (32-character maximum). This key is used to encrypt the data in a one-level encryption or to control access to the data in a two-level encryption.
- keyb
str Encryption key B (32-character maximum). This key is used to encrypt the data in a two-level encryption. If
KeyBis not specified, a one-level encryption is used to encrypt the data.- datatype
str Type of data to encrypt. Must be set to MAT for material data.
- num1
str Encrypt materials from material number
NUM1toNUM2(defaults toNUM1) in steps ofINC(defaults to 1). IfNUM1= ALL (default),NUM2andINCare ignored.- num2
str Encrypt materials from material number
NUM1toNUM2(defaults toNUM1) in steps ofINC(defaults to 1). IfNUM1= ALL (default),NUM2andINCare ignored.- inc
str Encrypt materials from material number
NUM1toNUM2(defaults toNUM1) in steps ofINC(defaults to 1). IfNUM1= ALL (default),NUM2andINCare ignored.
- keya
Notes
This command encrypts data in the database file. It must be issued before saving the database file ( save command).
For a one-level encryption, specify only
KeyAand setNUM1to ALL. (NUM2andINCare not used.)For a two-level encryption, specify both
KeyAandKeyB. Also specifyNUM1,NUM2, andINCas needed.For more information about using dbencrypt in the encryption/decryption procedure, see Encrypting Material Data dbdecrypt command.
This command is valid in any processor.