Skip to content

Conversation

Harshit28j
Copy link
Contributor

Added Cipher buster script
This PR resolves #1679

Description

Caesar Cipher Decryption: The script decrypts a ciphertext encrypted using the Caesar Cipher. It prompts the user to enter the ciphertext and provides an option to enter the known shift value used in the encryption. If the shift value is unknown, the script automatically tries all possible shift values (1 to 25) and displays the decrypted plaintext for each potential shift value.

  • Transposition Cipher Decryption: The script decrypts a ciphertext encrypted using the Transposition Cipher. It prompts the user to enter the ciphertext and provides an option to enter the known key used in the encryption. If the key is unknown, the script automatically tries all possible key values (1 to 25) and displays the decrypted plaintext for each potential key value.

  • User Interface: The script provides a user-friendly command-line interface. It prompts the user to select the encryption method they want to decrypt (1 for Caesar Cipher, 2 for Transposition Cipher) and input the corresponding ciphertext. The user can also choose to provide the known shift value or key, or leave it blank to try all possible combinations.

I request you to mark this contribution under GSSOC'23

Checklist:

  • I have performed a self-review of my own code
  • I have created a helpful and easy to understand README.md

Category:

  • Cryptography

Title: Cypher Buster
Folder: cypher_buster
Script: cipher_buster.py

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulations!! for making your first PR at Amazing-Python-Scripts, our mentors will review it soon.

@avinashkranjan avinashkranjan added level2 Bug fixing, Adding small features gssoc23 Issues created for/by the GirlScript Summer of Code'23 Participants labels Jun 9, 2023
@avinashkranjan avinashkranjan merged commit d5fa0f5 into avinashkranjan:master Jun 9, 2023
@Harshit28j Harshit28j deleted the cypher_buster_by_hj branch June 10, 2023 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc23 Issues created for/by the GirlScript Summer of Code'23 Participants level2 Bug fixing, Adding small features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cipher Buster: Brute Force Decryption for Caesar and Transposition Ciphers
2 participants