CLI implementation of Vernam cipher with perfect secrecy for communication
Find a file
2024-05-22 11:22:17 +01:00
LICENSE Initial commit 2024-01-25 21:03:22 +00:00
Makefile Initial commit 2024-01-25 21:03:22 +00:00
README.md update readme 2024-05-22 11:22:17 +01:00
vernam.c Initial commit 2024-01-25 21:03:22 +00:00

Vernam CLI Tool

Perfect secrecy cipher algorithm with truly random key implemented in C

Features

  • Support command line arguments to encrypt
  • Creation of thousands of key files at one time

Usage

$ ./vernam
# To encrypt/decrypt
$ vernam -i message_to_tom -k key-1 -o encrypted_to_tom
# To generate key
$ vernam -g <keys_count>

Dependencies

None

Building

You will need to run these with elevated privilages.

$ make 
# make install

Contributions

Contributions are welcomed, feel free to open a pull request.

License

This project is licensed under the GNU Public License v3.0. See LICENSE for more information.