Devansh3712 / cipher

Cipher encryption/decryption using C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



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++


Languages

Language:C++ 96.8%Language:Makefile 3.2%