Kryptor
Search…
Usage
If you are just getting started, then I recommend reading the tutorial.​
1
Usage: kryptor [options] [file]
2
3
Arguments:
4
file specify a file path
5
6
Options:
7
-e|--encrypt encrypt files/folders​
8
-d|--decrypt decrypt files/folders​
9
-p|--password use a password
10
-k|--keyfile specify a keyfile​
11
-x|--private specify your private key (blank for default)
12
-y|--public specify a public key
13
-f|--obfuscate obfuscate file names
14
-o|--overwrite overwrite input files
15
-g|--generate generate a new key pair
16
-r|--recover recover your public key from your private key
17
-s|--sign create a signature
18
-c|--comment add a comment to a signature
19
-l|--prehash sign large files by prehashing
20
-v|--verify verify a signature
21
-t|--signature specify a signature file
22
-u|--update check for updates
23
-a|--about view the program version and license
24
-h|--help show help information
25
26
Examples:
27
--encrypt -p [file]​
28
--encrypt -x [file]
29
--encrypt [-y recipient public key] [file]
30
--decrypt [-y sender recipient key] [file]
31
--sign [-c comment] [file]
32
--verify [-y public key] [-t signature] [file]
Copied!

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:
1
$ kryptor -e -p "GitHub Logo.png"
2
$ kryptor -e -p "C:\Users\samuel-lucas6\Downloads\GitHub Logo.png"
Copied!
Files in the same directory as the kryptor executable can be specified using a file name:
1
$ kryptor -e -p message.txt
Copied!
However, files that are in a different directory to the kryptor executable (e.g. in your Documents folder) must be specified using a file path:
1
$ kryptor -e -p C:\Users\samuel-lucas6\Documents\message.txt
Copied!

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 (%USERPROFILE%/.kryptor on Windows and /home/.kryptor on Linux/macOS).
To specify a non-default private key, you can use -x|--private followed by =[file] like so:
1
$ kryptor -e -x=C:\Users\samuel-lucas6\Documents\encryption.private message.txt
Copied!
Last modified 2mo ago