Playfair cipher: Difference between revisions
Content added Content deleted
(Updated D entry) |
(Updated D entry) |
||
Line 195:
return _canonicalize(s)
.matchAll(r"(.)(?:(?!\1)(.))?".regex)
.join(" ");
}
Line 204 ⟶ 203:
.chunks(2)
//.map!dec
.map!(p =>
.join(" ");
}
|