Skip to content

chnnick/cipher-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Cipher Generator

A simple encryption and decryption tool that supports Vigenère and Caesar ciphers. Works with all printable ASCII characters (codes 32–126).


Features

  • Encrypt or decrypt text:
    • Vigenère Cipher: Key-based encryption using a string.
    • Caesar Cipher: Shift-based encryption using an integer.
  • Interactive menu-driven interface.
  • Input validation for plaintext, ciphertext, and keys.

Example Usage

Encrypt with Vigenère Cipher:

./cipher.py encrypt v "Hello World" "Hello World"

Will output:

Encrypted message:
1kyy @O &yi

Encrypt with Caesar Cipher:

./cipher.py encrypt c "Hello World" 3

Will output:

Encrypted message:
Khoor#Zruog

Decrypt with Vigenère Cipher:

./cipher.py decrypt v "1kyy @O &yi" "Hello World"

Will output:

Decrypted message:
Hello World

Decrypt with Caesar Cipher:

./cipher.py decrypt c "Khoor#Zruog" 3

Will output:

Decrypted message:
Hello World

About

Encrypts/Decrypts messages via vigenere or caesar cipher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages