We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 14d9e72 + aed9cb1 commit a251e9fCopy full SHA for a251e9f
ciphers/playfair_cipher.py
@@ -85,7 +85,7 @@ def decode(ciphertext, key):
85
plaintext = ""
86
87
# https://en.wikipedia.org/wiki/Playfair_cipher#Description
88
- for char1, char2 in chunk(ciphertext, 2):
+ for char1, char2 in chunker(ciphertext, 2):
89
row1, col1 = divmod(table.index(char1), 5)
90
row2, col2 = divmod(table.index(char2), 5)
91
0 commit comments