If you are just getting started, then I recommend reading the tutorial.​

Usage: kryptor [options] [file]
file specify a file path
-e|--encrypt encrypt files/folders​
-d|--decrypt decrypt files/folders​
-p|--password use a password
-k|--keyfile specify a keyfile​
-x|--private specify your private key (blank for default)
-y|--public specify a public key
-f|--obfuscate obfuscate file names
-o|--overwrite overwrite input files
-g|--generate generate a new key pair
-r|--recover recover your public key from your private key
-s|--sign create a signature
-c|--comment add a comment to a signature
-l|--prehash sign large files by prehashing
-v|--verify verify a signature
-t|--signature specify a signature file
-u|--update check for updates
-a|--about view the program version and license
-h|--help show help information
--encrypt -p [file]​
--encrypt -x [file]
--encrypt [-y recipient public key] [file]
--decrypt [-y sender recipient key] [file]
--sign [-c comment] [file]
--verify [-y public key] [-t signature] [file]

Specifying files

When referencing file paths/file names that contain spaces, you must surround them with "speech marks" on Windows and 'apostrophes' on Linux/macOS:

$ kryptor -e -p "GitHub Logo.png"
$ kryptor -e -p "C:\Users\samuel-lucas6\Downloads\GitHub Logo.png"

Files in the same directory as the kryptor executable can be specified using their file name:

$ kryptor -e -p message.txt

However, files that are not in the same directory as the kryptor executable must be specified using a file path:

$ kryptor -e -p C:\Users\samuel-lucas6\Documents\message.txt

Specifying your private key

You can use the -x|--private option without specifying a file path to use your default private key. This is the recommended approach, but it means your private keys must be kept in the default folder.

To specify a non-default private key, you can use -x|--private followed by =[file] like so:

$ kryptor -e -x=C:\Users\samuel-lucas6\Documents\encryption.private message.txt