Vigenère cipher: Difference between revisions

m
→‎{{header|REXX}}: changed version names. -- ~~~~
m (→‎{{header|REXX}}: removed dead code, made '''oMsg'''' REXX variable name consistant regarding to its case. -- ~~~~)
m (→‎{{header|REXX}}: changed version names. -- ~~~~)
Line 1,770:
 
=={{header|REXX}}==
===version 1, uppercase text only===
<lang rexx>/*REXX program encrypts uppercased text using the Vigenère cypher. */
@.1 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
Line 1,808:
re-cyphered text = PEOPLESOLVEPROBLEMSBYTRIALANDERRORJUDGEMENTHELPSPICKTHETRIAL
</pre>
===version 2, supports most characters===
This version supports all characters on the IBM Model M keyboard, including blanks.
<br>Any characters can be added by simply appending them to the @.1 variable.