Playfair cipher: Difference between revisions
m
→{{header|Julia}}
No edit summary |
|||
Line 1,148:
# Get array of pairs of letters from text.
canontxt =
letterpairs = map(x -> canontxt[x], findall(r"(.)(?:(?!\1)(.))?", canontxt))
if isencode
Line 1,173:
Decoded: HI DE TH EG OL DI NT HE TR EX ST UM PX
</pre>
=={{header|Kotlin}}==
|