Bifid cipher: Difference between revisions

Content added Content deleted
(→‎{{header|jq}}: add fourth example)
Line 632: Line 632:
"ATTACKATDAWN",
"ATTACKATDAWN",
"FLEEATONCE",
"FLEEATONCE",
"ATTACKATDAWN",
"The invasion will start on the first of January"
"The invasion will start on the first of January"
];
];
Line 640: Line 641:
| encrypt(polys[$i]) as $encrypted
| encrypt(polys[$i]) as $encrypted
| ($encrypted | decrypt(polys[$i] )) as $decrypted
| ($encrypted | decrypt(polys[$i] )) as $decrypted
| ("Message : \(.)",
| "Message : \(.)",
"Encrypted : \($encrypted)",
"Encrypted : \($encrypted)",
"Decrypted : \($decrypted)" ) ;
"Decrypted : \($decrypted)"
"" ;


task
task
Line 648: Line 650:
{{output}}
{{output}}
Same as for [[#Wren]].
Same as for [[#Wren]].



=={{header|Julia}}==
=={{header|Julia}}==