Skip to content

longtruong/Kryptor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeFactor

Kryptor

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

Screenshot

Main Features

  • File encryption using XChaCha20 (default), XSalsa20, or AES-CBC with 256-bit keys.
  • Key derivation using the Password Hashing Competition winner Argon2.
  • A unique encryption key per file derived from a password and/or keyfile.
  • Secure keyfile generation. Alternatively, any file type can be used as a keyfile.
  • Optional anonymous renaming of encrypted files and folders.
  • Memory encryption to protect sensitive data in memory.
  • Password sharing support using libsodium Sealed Boxes (Curve25519, XSalsa20-Poly1305).
  • Built-in password and passphrase generator. Auto clear clipboard after copying passwords.
  • Customisation of settings such as encryption algorithm, Argon2 parameters, light/dark theme, etc.
  • Can be run offline and no account is needed. By default, there are automatic checks for updates, but this can be disabled.

For more information, head over to the Kryptor website.

Building Kryptor

Before you do anything with the source code, make sure you understand the GPLv3 license used by Kryptor. Click here for a summary of GPLv3.

  1. Click the green 'Code' button and 'Download ZIP'.
  2. Extract the ZIP, navigate to the 'Kryptor/src' folder, then open the 'Kryptor.sln' file in Visual Studio 2019 Community.
  3. You may be presented with lots of errors, but don't worry. You can go to Build => Clean Solution, select Release and x64 for the build options, and then click Build => Build Kryptor. Next, run the program by clicking the green play button in Visual Studio. This should resolve all of the errors.
  4. The libsodium-core library used by Kryptor does not support building to AnyCPU in Visual Studio - you must either build to x86 or x64. Build to x64 when possible.

Requirements

  • Windows: If you encounter any unhandled exceptions due to 'Sodium.Core' or 'libsodium', then you will need to copy the 'vcruntime140.dll' from 'Kryptor/src/Kryptor/bin/(x86 or x64 depending on your build)/Release/' to the folder containing the 'Kryptor.exe' file. 'vcruntime140.dll' is required for libsodium to work and must stay with the executable on Windows. Alternatively, you can install the Visual C++ Redistributable for Visual Studio 2015-2019, but this will mean that your Kryptor build won't be portable.
  • Linux: You must build Kryptor as x64. To retrieve the libsodium library for Linux, download the latest Kryptor release for Linux, extract 'Kryptor-Linux.zip', and copy the 'libsodium.so' file to the same folder as the 'Kryptor.exe' file you've built.
  • macOS: You must build Kryptor as x64. To retrieve the libsodium library for macOS, download the latest Kryptor release for macOS, extract 'Kryptor-macOS.zip', and copy the 'libsodium.dylib' file to the same folder as the 'Kryptor.exe' file you've built.

Notes

  • Visual Studio 2019 Community is the IDE I recommend building with, but be aware that it isn't open source, and you have to sign into a Microsoft account after 30 days (solution). If you just want to view the code, then you can use VSCodium, which is the open source version of VSCode. However, this won't allow you to view the Windows Forms Designer.

Donate

You can support the developer of Kryptor by donating through Paypal, GitHub, Bitcoin, or Monero.

Donations will go towards buying a code signing certificate (£65/yr) to remove the 'Unknown Publisher' message on Windows. Any excess donations will help pay for website hosting (£50/yr) and the website domain (£8/yr). Find out how to donate here.

About

Free and open source file encryption software.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 97.5%
  • Inno Setup 2.5%