The following command line options instruct GenRocket to encrypts a file into GenRocket's supported encryption.  Once a file has been encrypted, it will end with .gref (.gref => GenRocket Encrypted File). When the GenRocket reads a file ending in .gref it will automatically unencrypt the file once loaded in the computer's memory. To learn more, go to How do I encrypt my database connection files?


-ef <rawFile> 
--encrypt-file <rawFile>

Required Parameters

  • <rawFile> - the location and name of the file to be encrypted.

Example Raw File Being Encrypted

The file is encrypted to (your runtime version numbers may be different).

~/Downloads  $ genrocket -ef /Users/jdoe/Acme/resource/

GenRocket Runtime belongs to

GenRocket Runtime Version: 3.5.30

GenRocket Version:

GenRocket Engine Version:

GenRocket Generator Runtime Version:

GenRocket Receiver Runtime Version:

GenRocket GRepositoryClient Runtime Version:

GenRocket GRepositoryServer Runtime Version:

A copy of your file has been encrypted to at path /Users/jdoe/Acme/resource

~/Downloads  $