Anonymous user
Vigenère cipher: Difference between revisions
m
Undo revision 216954 by DrGranit (talk)
(→Alternate Scala implementation: fixed double quotes) |
|||
Line 2,820:
</lang>
<lang scala>val text = ""Beware the Jabberwock, my son! The jaws that bite, the claws that catch!""
val encoded = Vigenere.encrypt(text)
val decoded = Vigenere.decrypt(text)
Line 2,828:
{{out}}
<pre>plain text =>
cipher text => MIIOEP FVR NMPOPVICPV, AL WAB! XTS UEIG ELMH MMFS, XTS NPMKF XTOG GMHPS!
decrypted => Beware the Jabberwock, my son! The jaws that bite, the claws that catch!</pre>
|