Skip to content

Cipher Encryption/Decryption This project is a simple implementation of the cipher encryption and decryption algorithm using JavaScript, HTML, and CSS. The cipher is a substitution cipher that replaces each letter in the plaintext with a letter a certain number of positions down the alphabet.

License

Notifications You must be signed in to change notification settings

hegdepavankumar/Cipher-Encryption-Decryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caesar-Cipher


GitHub GitHub top language GitHub last commit ViewCount

Caesar Cipher Encryption/Decryption This project is a simple implementation of the Caesar cipher encryption and decryption algorithm using JavaScript, HTML, and CSS. The Caesar cipher is a substitution cipher that replaces each letter in the plaintext with a letter a certain number of positions down the alphabet.

Usage

To use the Caesar cipher encryption/decryption tool, follow these steps:

  1. Clone the repository or download the source code.
  2. Open the index.html file in a web browser.
  3. Select the desired operation from the "Encrypt" or "Decrypt" radio button.
  4. Enter the desired shift value, which determines how many positions each letter will be shifted.
  5. Enter the desired modulo value, which determines the length of the alphabet.
  6. Select the lettercase you want maintaincase, lowercase, and uppercase.
  7. Select the foreign key you want to ignore or remove, if you select to remove it will remove symbols.
  8. Enter the text you want to encrypt or decrypt in the input field provided.
  9. Click the submit button.
  10. The result will be displayed in the output section.

Examples

Encryption If you want to encrypt the message "PAVANKUMAR" with a shift of 3, the resulting ciphertext will be "SDYDQNXPDU".

Decryption

To decrypt the ciphertext "SDYDQNXPDU" with a shift of 3, the original plaintext "PAVANKUMAR" will be recovered.

Files

The project consists of the following files:

  • index.html: The HTML file containing the user interface and JavaScript code.
  • style.css: The CSS file for styling the user interface.
  • script.js: The JavaScript file containing the implementation of the Caesar cipher algorithm.
  • README.md: The readme file with instructions and information about the project.

Compatibility

This Caesar cipher encryption/decryption tool should work on most modern web browsers that support JavaScript. No additional libraries or frameworks are required.

Testing

To run the module's test suite, cd into its directory and run the npm test. You may first need to run npm install to install the required development dependencies. (These dependencies are not required in a production environment, and facilitate only unit testing.)

License

This project is licensed under the MIT License. Feel free to modify and use the code as per your needs.

Acknowledgments

This project was inspired by the concept of the Caesar cipher and was created for educational purposes.

Instructions

1). Fork this repository
2). Clone the forked repository
3). Add your contributions (code or documentation)
4). Commit and push
5). Wait for the pull request to be merged

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Creator [🔝]

(https://github.com/hegdepavankumar). This Project is Created by:-

|
@hegdepavankumar
|


Show some  ❤️  by starring some of the repositories!


Have a good day!

Smiley

About

Cipher Encryption/Decryption This project is a simple implementation of the cipher encryption and decryption algorithm using JavaScript, HTML, and CSS. The cipher is a substitution cipher that replaces each letter in the plaintext with a letter a certain number of positions down the alphabet.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages