Playfair cipher: Difference between revisions

m
→‎{{header|REXX}}: changed an error message concerning when the specified Playfair cypher key is too short. -- ~~~~
(→‎{{header|REXX}}: replaced an older version of output data, old incorrect output was from an early test version. -- ~~~~)
m (→‎{{header|REXX}}: changed an error message concerning when the specified Playfair cypher key is too short. -- ~~~~)
Line 372:
if newX=='' then call err 'PHRASE is empty or has no letters'
if length(noX)\==1 then call err '"omitted" letter must be only one letter'
if length(newK)<3 then call err 'cypher key is too short, must be > 12 character.'
if \datatype(noX,'M') then call err '"omitted" letter must be a Latin alphabet letter.'
if pos(noX,oldX)\==0 then call err 'PHRASE can''t contain the "OMIT" character: ' noX