Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 879 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 879 Bytes

CipherCode

Library with functions to encode texts

Usage

//library inclusion
#include <CipherCode.h>

//Encode text using the Caesar cipher. The key must be a number between 1 and 25
String ceasarCipher(String txt, int shift, bool encode);

//Encode text using the Vigenere Cipher. The key is a string
String vigenereCipher(String txt, String key, bool encode);

//Encode text using Math Cipher. The key is numeric of type long
String mathCipher(String txt, long key, bool encode);

//Encode text using Mirror Cipher. The key is not used
String mirrorCipher(String txt);

//Converts text to Hacker format
String hackerStr(String txt, bool encode);

//Converts text to MSN chat format
String msnStr(String txt, bool encode);

//Returns the text in reverse
String reverseStr(String txt);

Author : Fellipe Couto [ http://www.efeitonerd.com.br ]

Date : 2023-06-21