We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a03b2ea commit aed9cb1Copy full SHA for aed9cb1
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