Skip to content

Add Playfair Cipher Decryption Solution#390

Open
DuckyZero wants to merge 2 commits intoShopify:mainfrom
DuckyZero:playfair-cipher-solver
Open

Add Playfair Cipher Decryption Solution#390
DuckyZero wants to merge 2 commits intoShopify:mainfrom
DuckyZero:playfair-cipher-solver

Conversation

@DuckyZero
Copy link
Copy Markdown

This PR adds a solution for decrypting messages encrypted with the Playfair Cipher. The decryption key used is "SUPERSPY", and the output matches the expected decrypted string.

Add detailed comments and documentation to Playfair Cipher decryption script

- Added author name, date, and script description in the header
- Included usage instructions and requirements
- Enhanced docstrings for all functions
- Added inline comments for better readability and understanding
- Structured the script with a main function check
@DuckyZero
Copy link
Copy Markdown
Author

This PR adds a solution for decrypting messages encrypted with the Playfair Cipher. The decryption key used is "SUPERSPY", and the output matches the expected decrypted string. The solution is implemented in Python and ensures that the decrypted string is printed in uppercase without spaces or special characters.

Solution details:

  • Implements Playfair Cipher decryption algorithm.
  • Reads input message and key.
  • Processes the message to decrypt and outputs the result.
  • Ensures the script is executable from the command line.

Decrypted output: HIPPOPOTOMONSTROSESQUIPPEDALIOPHOBIA

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