Skip to content

Devansh3712/cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Library and CLI for cryptography techniques.

Running the CLI

A command line interface is available for cipher, through which data or files can be encrypted/decrypted through the command line or terminal. Following methods can be used to create an executable.

  • Makefile
make cipher
  • Shell
g++ -o cipher main.cpp lib/*.cpp

Using as a library

cipher can also be used as a C++ library, by including the cipher.hpp header file available in lib directory.

#include "lib/cipher.hpp"

All classes are derived from Cipher base class. Each class has two methods: encrypt and decrypt.

Available cryptography techniques

Running Tests

Tests are created for each file under lib/cipher.hpp header file.

make test

About

Cipher encryption/decryption using C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published