Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Caesar Cipher 🥷

Python License GitHub

A simple Python library for the Caesar Cipher.
Allows you to encode and decode messages with a customizable shift (default +3).


🚀 Installation

From GitHub (recommended)

git clone https://github.com/ananas1kexe/caesar-cipher.git
cd caesar-cipher
pip install .

Usage

from caesar_cipher import encode, decode

# Encode a message
encoded = encode("hello world")
print(encoded)  # output: khoor zruog

# Decode a message
decoded = decode(encoded)
print(decoded)  # output: hello world

License

MIT License

About

Simple Python library to encode and decode messages using the Caesar cipher.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages