VMS Help  —  ENCRYPT  Examples
    1.$ ENCRYPT TROY MYKEY

      Encrypts the file TROY using the key MYKEY.

    2.$ ENCRYPT NEWFILE.TXT MONET/KEY_ALGORITHM=AESCBC128/DATA_ALGORITHM=AESCBC128

      Encrypts the file NEWFILE.TXT with the AES key, MONET, using
      the algorithm AESCBC128. A new version, NEWFILE.TXT;n+1,
      of the original file (now encrypted) is created. Use the
      /OUTPUT=filename qualifier to preserve the original file name,
      renaming the encrypted output file.
Close Help