Skip to content

Proactive-Development/CaesarPlus

Repository files navigation

CaesarPlus

An advanced caesar cypher python module

Want a Javascript version for HTML and NodeJS Click here

What is CaesarPlus

CaesarPlus is a advanced caesar cypher python module that is more secure than caesar cypher

It makes a unique encryption every time you encode a piece of data

Installation

pip install caesarplus

Requirements

Python 3.8 and above.

How To Use

Example

#To import 
import caesarplus as cp

#To encode data
cp.encode("Example")
([4, 4, 1, 7, 5, 0, 6], 'I|btulk')

#To decode data
cp.decode( [4, 4, 1, 7, 5, 0, 6],'I|btulk')
'Example'

Encode

The encode() function encodes data in the CaesarPlus encryption method

Example

caesarplus.encode("Example")
([4, 4, 1, 7, 5, 0, 6], 'I|btulk')

Each encryption is unique

The encode() function will output key,data

Warning:

You can only decode the data with the key CaesarPlus makes

Decode

The decode() function decodes data in the CaesarPlus encryption method

Example

cp.decode( [4, 4, 1, 7, 5, 0, 6],'I|btulk')
'Example'

To decode it must be key before data and the key must be an array/list.

The decode() function will output data/the decoded text.

Warning:

You must use the correct key to decode the encrypted text.

How it works

Flowchart