Vigenère cipher: Difference between revisions

m
m (→‎{{header|Zig}}: writer.print() is void (no return value))
Line 1,143:
 
<syntaxhighlight lang="easylang">
procfunc$ encr txt$ pw$ d . r$ .
r$ = ""
txt$[] = strchars txt$
for c$ in strchars pw$
Line 1,160 ⟶ 1,159:
.
.
return r$
.
s$ = "Beware the Jabberwock, my son! The jaws that bite, the claws that catch!"
pw$ = "VIGENERECIPHER"
callr$ = encr s$ pw$ 1 r$
print r$
call encr r$ pw$ -1 r$
print r$
callprint encr r$ pw$ -1 r$
</syntaxhighlight>
 
 
=={{header|Elena}}==
1,983

edits