Frank Miller
George Orwell

Command Line Manual Page Examples


Usage:      java -cp finalcrypt.jar rdj/CLUI   <Mode>  [options] <Parameters>

Examples:

            java -cp finalcrypt.jar rdj/CLUI --examples                 Print commandline examples

            java -cp finalcrypt.jar rdj/CLUI --encrypt --test -k "key_dir" -t "target_dir" -t "target_file" # Test Encrypt (Auto Key Mode)
            java -cp finalcrypt.jar rdj/CLUI --decrypt --test -k "key_dir" -t "target_dir" -t "target_file" # Test Decrypt (Auto Key Mode)

            java -cp finalcrypt.jar rdj/CLUI --encrypt -k "key_dir" -t "target_dir" -t "target_file"  # Encrypt (Auto Key Mode)
            java -cp finalcrypt.jar rdj/CLUI --decrypt -k "key_dir" -t "target_dir" -t "target_file"  # Decrypt (Auto Key Mode)

            java -cp finalcrypt.jar rdj/CLUI --encrypt -k "key_file" -t "target_file"  # Encrypt (Manual Key Mode not recommended)
            java -cp finalcrypt.jar rdj/CLUI --decrypt -k "key_file" -t "target_file"  # Decrypt (Manual Key Mode not recommended)

Mode:

            <--scan>              -k "key_dir"       -t "target"        Print scan results and quit
            <--encrypt>           -k "key_dir"       -t "target"        Encrypt Targets
            <--decrypt>           -k "key_dir"       -t "target"        Decrypt Targets
            <--create-keydev>     -k "key_file"      -t "target"        Create Key Device (only unix)
            <--create-keyfile>    -K "key_file"      -S "Size (bytes)"  Create OTP Key File
            <--clone-keydev>      -k "source_device" -t "target_device" Clone Key Device (only unix)
            <--typewriter>                                              Print to screen like a typewriter
            [--print-gpt]         -t "target_device"                    Print GUID Partition Table
            [--print-gpt]         -t "target_device"                    Print GUID Partition Table
            [--delete-gpt]        -t "target_device"                    Delete GUID Partition Table (DATA LOSS!)

Options:

            [-h] [--help]                                               Print help page
            [--password]          -p 'password'                         Optional password parameter http://www.finalcrypt.org/faq.php#t24
            [--password-prompt]   -pp                                   Optional password prompt http://www.finalcrypt.org/faq.php#t24
            [--key-chksum]        -k "key_file"                         Calculate key checksum
            [--no-key-size]                                             Allow key-size less than the default minimum of 140 bytes
            [-d] [--debug]                                              Enables debugging mode
            [-v] [--verbose]                                            Enables verbose mode
            [--print]                                                   Print all bytes binary, hexdec,  dec & char vertical   (slow!!!)
            [--print-virtical]                                          Print all bytes binary, hexdec,  dec & char vertical   (slow!!!)
            [--print-horizontal]                                        Print all bytes binary, hexdec,  dec & char horizontal (slow!!!)
            [-l] [--symlink]                                            Include symlinks (can cause double encryption! Not recommended!)
            [--reuse-keys]                                              Reuse Keys only works in MAC Mode (experts only, breaks OTP rule)
            [--disable-MAC]                                             Non MAC Mode - Please see http://www.finalcrypt.org/faq.php#t25
            [--version]                                                 Print FinalCrypt version
            [--license]                                                 Print FinalCrypt license
            [--check-update]                                            Check for online updates
            [-s size]                                                   Changes default I/O buffer size (size = KiB) (default 1024 KiB)
            [-S size]                                                   OTP Key File Size (size = bytes). See --create-keyfile 
            [--urlencode]         "text to encode"                      Encode plain text to URL safe text

Test Options:

            [--test]                                                    Test run without executing (also prints statistics at the end)
            [--test "answer"]                                           Same but then with non interactive answer (c,1-13) included
            [-pd] [--password-dictionary]  "dict_file"                  Brute force test plain text passwords from dictionary file

Filtering Options:

            [-w 'wildcard']                                             File wildcard INCLUDE filter. Uses: "Globbing Patterns Syntax"
            [-W 'wildcard']                                             File wildcard EXCLUDE filter. Uses: "Globbing Patterns Syntax"
            [-r 'regex']                                                File regular expression filter. Advanced filename filter!

Parameters:

            <-k "keydir">                                               The directory that holds your keys. Keep SECRET!

            <-t / -b>                                                   Target items to encrypt. Individual (-t) by batch (-b)
            <[-t "file/dir"]>                                           Target items (files or directories) you want to encrypt (recursive)
            <[-b "batchfile"]>                                          Batchfile with targetfiles you want to encrypt (only files)

FinalCrypt 6.8.0 - Author: Ron de Jong <info@finalcrypt.org> - CC BY-NC-ND 4.0: License 2017-2021