iBunker is a command-line tool designed to provide encryption and decryption functionality for various types of files, offering users a secure way to protect sensitive information. With iBunker, you can encrypt your files using a strong 256 bits key automatically generated by the program for decryption.
- iBunker uses AES-256 encryption, a military-grade encryption standard approved by the NSA (National Security Agency).
- Encrypt files using AES encryption algorithm.
- Decrypt files using AES decryption algorithm.
- Simple command-line interface for easy usage.
- Cross-platform compatibility.
-
Generating the Key:
- During encryption, iBunker internally generates a strong encryption key using a secure 256-bit key generator.
-
Encrypting the File:
- Using the AES encryption algorithm, the program encrypts the contents of the
<input_file>
.
- Using the AES encryption algorithm, the program encrypts the contents of the
-
Saving the Result:
- The encrypted data is saved to
<output_file>
.
- The encrypted data is saved to
-
Reading the Key:
- The program reads the decryption key from the specified
<key_file>
.
- The program reads the decryption key from the specified
-
Decrypting the File:
- Using the AES decryption algorithm, the program decrypts the contents of the
<input_file>
.
- Using the AES decryption algorithm, the program decrypts the contents of the
-
Saving the Result:
- The decrypted data is saved to
<output_file>
.
- The decrypted data is saved to
Ensure that the Crypto++ library is installed on your system. If not, you can install it by following these steps:
# Update repositories
sudo apt-get update
# Install the Crypto++ library
sudo apt-get install libcrypto++-dev
-
Clone the repository:
git clone https://github.com/paulomunizdev/iBunker.git
-
Navigate to the iBunker directory:
cd iBunker
-
Compile the program:
g++ -o ibunker ibunker.cpp -lcryptopp
To encrypt a file named plaintext.txt
using a key stored in key.txt
and save the encrypted data to encrypted.txt
, you would run:
./ibunker encrypt plaintext.txt encrypted.txt key.txt
To decrypt encrypted.txt
using the same key and save the decrypted data to decrypted.txt
, you would run:
./ibunker decrypt encrypted.txt decrypted.txt key.txt
- It is crucial to handle the key securely. Keep the key file (
key.txt
) safe and do not share it with unauthorized users.
This project is licensed under the MIT License.