Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kseen715/cifs.cpp
Encryption algorithms demonstration
https://github.com/kseen715/cifs.cpp
Last synced: 8 days ago
JSON representation
Encryption algorithms demonstration
- Host: GitHub
- URL: https://github.com/kseen715/cifs.cpp
- Owner: Kseen715
- License: mit
- Created: 2024-02-28T16:33:14.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-26T04:21:03.000Z (7 months ago)
- Last Synced: 2024-04-26T05:26:17.588Z (7 months ago)
- Language: C++
- Homepage:
- Size: 24 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cifs.cpp
## Description
`cifs.cpp` is a demonstration of RSA and ElGamal encryption and decryption. It is a simple program that uses the RSA and Elgamal algorithms to encrypt and decrypt messages. Written with C++ in C-style.## Install
To build the project, you need to have `make` and `g++` (C++17 compatible) installed on your system (or you can use your own build system). Then you can clone the repository and build the project using the following commands:
```bash
git clone https://github.com/Kseen715/cifs.cpp.git
cd cifs.cpp
make build
```## Usage
After building the project, you can run the program using the following command:
```bash
./build/cifs
```## Credits
- [tqdm.hpp](https://github.com/mraggi/tqdm-cpp) by [mraggi](https://github.com/mraggi) - [LICENSE](https://github.com/mraggi/tqdm-cpp/blob/master/LICENSE) - C++ single-header library for displaying progress bars in the terminal.
- [argparse.h](https://github.com/cofyc/argparse) by [cofyc](https://github.com/cofyc) - [LICENSE](https://github.com/cofyc/argparse/blob/master/LICENSE) - Simple argument parser for C.
- [Perlin-Noise-Implementation](https://github.com/Maharshi-Pandya/Perlin-Noise-Implementation) by [Maharshi-Pandya](https://github.com/Maharshi-Pandya) - [LICENSE](https://github.com/Maharshi-Pandya/Perlin-Noise-Implementation/blob/master/LICENSE) - Perlin noise algorithm implementation in C.## Screenshots
Main screen:
RSA mode selection:
RSA text encoding:
RSA text encoding via existing key:
RSA numbers encoding:
RSA decoding:
ElGamal mode selection:
ElGamal signing:
ElGamal valid signature:
ElGamal invalid signature: