https://github.com/johnmanjohnston/data-encrypter
CLI application to encrypt and secure your files with a cryption key, then decrypt them later
https://github.com/johnmanjohnston/data-encrypter
cplusplus cpp cryption decryption encryption encryption-decryption openssl security security-tools
Last synced: about 1 month ago
JSON representation
CLI application to encrypt and secure your files with a cryption key, then decrypt them later
- Host: GitHub
- URL: https://github.com/johnmanjohnston/data-encrypter
- Owner: johnmanjohnston
- License: apache-2.0
- Created: 2022-12-19T15:23:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-10T16:54:50.000Z (about 2 years ago)
- Last Synced: 2025-01-20T23:47:03.247Z (3 months ago)
- Topics: cplusplus, cpp, cryption, decryption, encryption, encryption-decryption, openssl, security, security-tools
- Language: C++
- Homepage:
- Size: 246 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# data-encrypter
A tool to encrypt your files to prevent people from reading/leaking files.## Installation
To install, first, clone this git repository:```bash
$ git clone https://github.com/johnmanjohnston/data-encrypter/
```Next, navigate to the `src/` directory:
```bash
$ cd data-encrypter/src/
```Create a `build/` directory where the build files will be located, and navigate to it:
```bash
$ mkdir build
$ cd build
```Next, run CMake to generate the binaries from the source, this would resemble the following:

Now, we can run the data-encrypter binary file, and encrypt files in a directory. In this example, the directory at `../../demo/` is used

We can see that the file data present in the file in the demo directory is unreadable:

We can decrypt the file with the same binary, but for a successful decryption we need to use the same cryption key

On using the same cryption key, we get the orginal text in our file
