/FileEncryptGui_Java11

Primary LanguageJavaBSD 2-Clause "Simplified" LicenseBSD-2-Clause

File Encrypt GUI U1

File Encrypt is an application that encrypts files with RSA/AES from a graphical user interface. The benefit of using this app is the ease of use while getting the safety of 4096 bits RSA encryption.

Logo

How to Start the Project?

Start with Maven (in pom folder)

mvn javafx:run

Start with Make script (in root folder)

make start

Security measures taken against enumerating and bruteforce attacks

  • Hard to enumerate keys since an encrypted file will be copied into a buffer before the cipher operations begins. That means that you must add a 5 GB file into a buffer before the cipher operations begins. That takes time, which is a good thing 😊

Project Features

• The IV-Bytes are generated at random and is written into an encrypted archive

• Buffers are used in the cipher stream operations

• Graphical User Interface

• Easy generation of keypair

• Hard to enumerate keys

Logo

Instructions of use

1. Generate a key pair by clicking on “New Keypair”.

2. Set the key paths by clicking on the Set Key buttons.

3. Keys.properties will contain the paths to your keys. This file must exist (and can’t be renamed) in order for the jar/project to run. You can edit this file manually as well 😊 

Encrypt file

1. Click on Encrypt to encrypt a file
2. A new file that ends on.” zc” will be created. That is the file you decrypt or send to a friend.
3. Remember that if you use a friend’s public key, you can’t decrypt the file yourself.

Decrypt File

1. Click on decrypt 
2. Choose a file that has been encrypted using this app and has the file ending “.zc”. 
3. If the file has been encrypted with your public key, you can decrypt it with your private key,