Playfair cipher

From Rosetta Code
Revision as of 13:20, 10 May 2013 by rosettacode>Paulo Jorente (Created page with "{{draft task}} Implement a Playfair cipher encryption and decryption. The user must be able to choose J = I or no Q in the alphabet. The output of th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Playfair cipher is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

Implement a Playfair cipher encryption and decryption.

The user must be able to choose J = I or no Q in the alphabet. The output of the encrypted message must be in capitalized digraphs, separated by spaces.

Output example: HI DE TH EG OL DI NT HE TR EX ES TU MP.