Jump to content

Playfair cipher: Difference between revisions

m
added whitespace.
m (→‎{{header|REXX}}: added whitespace and changed some comments, made some statements easier to read, added literal constants for better reading.)
m (added whitespace.)
Line 1:
{{task}} [[Category:Encryption]]
 
{{task}}
 
;Task:
Implement a [[wp: Playfair cipher| Playfair cipher]] for encryption and decryption.
 
 
The user must be able to choose J = I or no Q in the alphabet.
Line 6 ⟶ 11:
The output of the encrypted and decrypted message must be in capitalized digraphs, separated by spaces.
 
 
Output example: HI DE TH EG OL DI NT HE TR EX ES TU MP.
;Output example:
Output example: HI DE TH EG OL DI NT HE TR EX ES TU MP.
<br><br>
 
=={{header|C++}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.