Skip to content

AdyaS2010/Caesar-Encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Caesar Cipher Encoder

Description

This project is a simple Caesar Cipher Encoder written in C. It allows users to encode messages by shifting the letters of the alphabet by a specified number of positions. Note that this implementation only supports encoding, not decoding.

Features

  • Encode messages with a custom shift value
  • Supports both uppercase and lowercase letters
  • Ignores non-alphabetic characters

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/Caesar-Encoder.git
  2. Navigate to the project directory:
    cd caesar-encoder
  3. Compile the code:
    make caesar

Usage

  1. Run the application:
    ./caesar key
    Replace key with the number of positions you want to shift the letters by.
  2. Enter the plaintext message when prompted.
  3. The encoded message will be displayed as the output.

Example

$ ./caesar 3
Plaintext: hello
ciphertext: khoor

image *Can you guess what the shift is? It's 16!

Contributing

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/your-feature-name
  3. Make your changes and commit them:
    git commit -m 'Add some feature'
  4. Push to the branch:
    git push origin feature/your-feature-name
  5. Open a pull request.

License

This project is not licensed under any License as of now.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages