8000 Added a Vignere cipher extension to the Ceasar cipher py file by NenadBalaneskovic · Pull Request #367 · ndleah/python-mini-project · GitHub
[go: up one dir, main page]

Skip to content

Added a Vignere cipher extension to the Ceasar cipher py file #367

New issue 8000

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

NenadBalaneskovic
Copy link
8000

Description

A short summary of what is included in your Pull Request.

Fixes #(issue_no)

  • Issue_no: <insert your issue no here>
  • Not applicable

Type of change

Choosing one or more options from the following as per the nature of your Pull request.

  • New project insert
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation Update

Project

  • Name:

Vignere Cipher

  • Short Description:

This script implements the Vigenère Cipher, a classic polyalphabetic substitution encryption technique.
It accepts a keyword from the user to encode and decode messages. The same keyword must be used to decrypt the output,
making it a lightweight reversible encryption tool. This is a great intro project for learning about ciphers and key-based text transformations.

The script demonstrates:

  1. A VigenereCipher class with methods to encrypt and decrypt alphabetic strings
  2. Character-level transformation based on a repeating keyword
  3. Custom transform() logic that handles both encryption and decryption

Feel free to enhance it with non-alphabet support, file-based encryption, or use it inside a larger pipeline.

Checklist:

Please tick all the boxes that are fulfilled by your Pull Request.

  • I have named my files and folder, according to this project's guidelines.
  • My code follows the style guidelines of this project.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have created a helpful and easy to understand README.md, according to the given README_TEMPLATE.
  • My changes do not produce any warnings.

A class for implementing a Vignere cipher (file "vignere_cipher.py") as an extension of Caesar's cipher and its README file have been added.
@NenadBalaneskovic
Copy link
Author

Please review the code and inform me whether it may be merged. Thank you kindly in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0