Skip to content

Conversation

soxfox42
Copy link
Contributor

I fixed up a few things in the documentation of the Playfair cipher:

  • Letter matrices were incorrect, i and k were in the wrong order (Kudos to @BillyOwen for pointing this one out to me)
  • The documentation referred to Z as a filler character, but the implementation (and most explanations of the cipher) uses X
  • I think my reworded explanation of splitting duplicate letter digraphs is slightly clearer than the original.

This matches the Python implementation, the video linked on the page,
and most documentation of the Playfair cipher.
I think this wording is a little clearer when it comes to how double
letter digraphs should be handled.
@vbrazo vbrazo merged commit c8508db into TheAlgorithms:master Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants