Skip to content

Caesar code (Caesar Cipher) encoder, and decoder, written in Python

License

Notifications You must be signed in to change notification settings

PiciAkk/caesar-code.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

caesar-code.py

Caesar code (Caesar Cipher) encoder, and decoder, written in Python

Usage

Installation

  • Clone this repository
git clone https://github.com/piciakk/caesar-code.py
  • Go to the directory, you just cloned
cd caesar-code.py

Decode

  • Run the decoder script
python decoder.py
  • Enter a key
  • Enter a text
  • Done

Encode

  • Run the encoder script
python encoder.py
  • Enter a key
  • Enter a text
  • Done

Using as library

import decoder
import encoder

decode.decodeText(text.lower(), key) # text needs to be in lowercase
# returns decoded text
encode.encodeText(text.lower(), key) # text needs to be in lowercase
# returns encoded text

Releases

No releases published

Packages

No packages published

Languages