Playfair cipher: Difference between revisions
Content added Content deleted
Walterpachl (talk | contribs) (→{{header|REXX}}: add output from ooRexx) |
(→{{header|REXX}}: replaced an older version of output data, old incorrect output was from an early test version. -- ~~~~) |
||
Line 430: | Line 430: | ||
return $</lang> |
return $</lang> |
||
'''output''' when using the default inputs: |
'''output''' when using the default inputs: |
||
<pre> |
|||
<pre style="overflow:scroll"> |
|||
old cypher= Playfair example |
old cypher= Playfair example |
||
new cypher= PLAYFIREXM |
new cypher= PLAYFIREXM |
||
grid fill= BCDGHKNOQSTUVWZ |
|||
grid text= PLAYFIREXMBCDGHKNOQSTUVWZ |
|||
old phrase= Hide the gold in the tree stump!! |
old phrase= Hide the gold in the tree stump!! |
||
new phrase= HIDETHEGOLDINTHETREESTUMP |
new phrase= HIDETHEGOLDINTHETREESTUMP |
||
new digram= HI DE TH EG OL DI NT HE TR EE ST UM P |
|||
cypher text= |
cypher text= BM OD ZB XD NA BE KU DM UI XM MO UV IF |
||
plain text= HI DE |
plain text= HI DE TH EG OL DI NT HE TR EX ES TU MP |
||
</pre> |
</pre> |
||
After the usual replacements for $, @, #, and x= I ran the program on ooRexx with the following correct results: |
After the usual replacements for $, @, #, and x= I ran the program on ooRexx with the following correct results: |