Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 2 months 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-10T16:54:50.000Z (almost 2 years ago)
- Last Synced: 2023-03-10T05:45:55.389Z (almost 2 years 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:
![image](https://user-images.githubusercontent.com/97091148/217327692-84a3bc41-fa0c-4208-8128-5ccdca11f63b.png)
Now, we can run the data-encrypter binary file, and encrypt files in a directory. In this example, the directory at `../../demo/` is used
![image](https://user-images.githubusercontent.com/97091148/217315458-813b03bf-e21b-46fa-bf02-6095c03b799d.png)
We can see that the file data present in the file in the demo directory is unreadable:
![image](https://user-images.githubusercontent.com/97091148/217315614-c8717764-be8a-43f8-a1f4-4caff546375c.png)
We can decrypt the file with the same binary, but for a successful decryption we need to use the same cryption key
![image](https://user-images.githubusercontent.com/97091148/217315662-07a0c68c-3128-453b-a5c6-0e586bb51afa.png)
On using the same cryption key, we get the orginal text in our file
![image](https://user-images.githubusercontent.com/97091148/217315792-60eefd6d-7839-426b-9bf7-9387efe2a74d.png)