Awesome Open Source
Awesome Open Source

License: GPL v3 CodeQL


Kryptor is free and open source file encryption software for Windows, Linux, and macOS.

It is a portable, cross-platform command line tool that makes use of modern and secure cryptographic algorithms. It aims to be a mixture of age and Minisign in terms of functionality to provide a simple, user friendly alternative to GPG.



  • Encrypt files/folders with a password, keyfile, or asymmetric keys.
  • Encrypting files using a recipient's public key allows for authenticated, one-way file sharing.
  • Create and verify digital signatures, with support for an authenticated comment and prehashing.
  • Generation of asymmetric key pairs. The private key is encrypted for protection at rest.
  • UNIX style password entry and random passphrase generation.
  • Random keyfile generation. Any type of file can also be used as a keyfile.
  • Obfuscate output file names when encrypting files/folders.
  • Overwrite input files when encrypting files/folders.

For more information, please go to


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's public key] [file]   
  --decrypt [-y sender's public 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 (%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:

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

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
C Sharp (279,248
Linux (16,549
Cli (15,473
Windows (9,726
Macos (8,861
Cryptography (3,511
Encryption (2,707
Portable (506
Ed25519 (169
Signing (151
Libsodium (143
Related Projects