Skip to content

SamSyntax/Cryptography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptography

How to run algorithms?

Make sure you have GNU make, CMake and have C++23. Then run:

make setup

That should generate build directory and create a symbolic link of compile_commands.json file from build directory to the root directory with the same name. It ensures that LSP correctly detects all STD lib modules from C++23.

├── build/
├── cesar.cpp
├── CMakeLists.txt
├── compile_commands.json -> build/compile_commands.json
├── Makefile
├── README.md

The generated JSON file should look like that:

[
{
  "directory": "/path/to/your/project/Cryptography/build",
  "command": "/usr/bin/c++   -std=gnu++23 -o CMakeFiles/cesar.dir/cesar.cpp.o -c /path/to/your/project/Cryptography/cesar.cpp",
  "file": "/path/to/your/project/Cryptography/cesar.cpp",
  "output": "CMakeFiles/cesar.dir/cesar.cpp.o"
}
]

Once everything is setup you can run tests for all algorithms (currently only Cesar algorithm is available):

make test

About

Learning basic cryptography concepts and implementing it with c++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors