Talk:Straddling checkerboard

From Rosetta Code
Revision as of 15:05, 6 June 2011 by Tikkanz (talk | contribs) (Add digit order too?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Wikipedia page implies that the order of the digits 0-9 can also be scrambled to improve security. To make the task more complete but not much more complicated, I think it would make sense to also provide numbers to the function in the desired order. To leave the existing cipher for the example valid, the inputs to the StraddlingCheckerboard function would become ("0123456789HOLMESRTABCDFGIJKNPQUVWXYZ./", 3, 7) --Tikkanz 15:05, 6 June 2011 (UTC)