AutoCrypt - Command Line Version

TThe command line version of AutoCrypt, AC_Tool.exe, allows you to protect Windows applications and .DLLs. The protection process can be controlled within other applications or batch-files.

AC_Tool.exe can be found here:

  • If you use the PPK open the Control Center and go to the menu point “Drivers & Tools” → “Command Line Tools” or open the folder [SmarxOS PPK root]\Tools\ AC_Tool.
     
  • If you use the AutoCrypt Wizard Package see [AutoCrypt Package root folder]\Tools\ AC_Tool.


Parameter description:
AC_Tool.exe <TRX-Datei> <XML-Datei> 

<TRX-file>

CRYPTO-BOX hardware profile that you receive together with your customer-specific CRYPTO-BOX (or cbu_demo.trx for the evaluation kit)

<XML-file>

XML file with application protection settings and CRYPTO-BOX configuration also used by SmrxProg for further CRYPTO-BOX programming (see AC_Test.xml as an example)
Also initial XML script file can be generated for the active SxAF project (menu “Project” → ”Generate Script for SmrxTools”). Even if not using SxAF for protection and license management it still can be useful for XML prototype file creation.

 

 

 

 

 

 

 


Short explanation on how to use AC_Tool:

  • Take an XML file that was exported from AutoCrypt Wizard or from SxAF. You can also use a text editor to customize XML data (AC_Test.xml, AC_Local.xml or AC_Network.xml may be used as prototypes).
  • Save the TRX file (you received it with your first CRYPTO-BOX delivery), the XML file created in the previous step and the AC_Tool.exe file in the same folder
  • Run the following command from the console: AC_Tool.exe <TRX file> <XML file>.
  • The Results will be displayed on the console and written to the AC_TOOL.LOG file.
     

 

INFO

 

If you receive an error message, you will find a list of the error codes and their meaning in the attached Readme file. The Readme file also contains further information on the structure of the XML file.