ENCRYPT/CREATE KEY

From VSI OpenVMS Wiki
Jump to: navigation, search

ENCRYPT/CREATE_KEY is a DCL command that creates a key definition name and value to be used for encryptingand decrypting files. The key is a string that represents the name under which its value is encrypted and stored in the key storage table; a logical name table. A DES key is created in the PROCESS logical name table by default unless the /AES qualifier is specified. Note that AES requires longer key-length values than the 8-byte DES keys. AES requires a minimum of 16, 24, or 32 bytes depending on the algorithm/key size specified for encryption or decryption.

Syntax

ENCRYPT /CREATE_KEY  key-name key-value [qualifiers]

Qualifiers

  • /AES
  • /GROUP
  • /HEXADECIMAL
  • /JOB
  • /LOG
  • /PROCESS
  • /SYSTEM