Skip to content

An adaptation after Vernam encryption algorithm. For academic purposes only.

License

Notifications You must be signed in to change notification settings

alexpandi-solutions/Criptography.Vernam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vernam Criptography Project

Prerequisites:

  • CMake 3.15.0
  • GCC C++1z

NOTE: This project runs on UNIX CLI.

Usage steps:

1. Clone the repository

Screenshot

Your directory structure should look like this:

Screenshot

2. Run: cmake CMakeLists.txt

Screenshot

3. Run: make

Screenshot

CMake and Make actions should generate the executable file as well as a bunch of auxiliary files:

Screenshot

4. Fill in the plaintext: files/data/input.txt

Screenshot

5. Fill in the key: files/data/key.txt

Screenshot

6. Run: ./Vernam

Screenshot

7. Check file for ciphertext: files/results/ciphertext.txt

Screenshot

8. Check file for plaintext: files/results/plaintext.txt

Screenshot

Tips:

  1. Restart at step 4 to repeat the experiment.**
  2. Restart at step 3, if you modify the source code with C++11 compatible functionalities.**
  3. If you update the source code using C++1z or C++2x, restart at step 2, after modifying the CXX flags.**

Notes:

  1. You don't need to cleanup the results directory as the script replaces the files automatically.
  2. This is a sample adaptation for academic purposes only.

Copyright Alex Pandi @ 2020

About

An adaptation after Vernam encryption algorithm. For academic purposes only.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published