An open API service indexing awesome lists of open source software.

https://github.com/devsdenepal/prodigy_cs_01


https://github.com/devsdenepal/prodigy_cs_01

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# PRODIGY_CS_01




This script allows you to encrypt or decrypt a text using a Caesar cipher. You can provide input either via command-line arguments or interactively.

Features



  • En/Decrypt text with a specified letter shift

  • Command-line and interactive modes

Requirements


Python 3.x

Usage

Command-Line Mode


You can run the script directly from the command line by providing the necessary arguments.

python script.py --mode  --text  --shift 



  • --mode: Specify the mode, e for encrypt and d for decrypt.


  • --text: The text to be encrypted or decrypted.


  • --shift: The letter shift for the encryption or decryption.

Example:

python script.py --mode e --text "hello" --shift 3