Talk:Straddling checkerboard: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Category: new section)
(Standardize)
Line 2: Line 2:


: You mean the order of the columns? Changing the order of the columns would be the same as rearranging each of the rows. Since you can input the whole alphabet in any order (as opposed to just a keyword to get things started, for example), it wouldn't add anything new. [[User:MagiMaster|MagiMaster]] 19:44, 6 June 2011 (UTC)
: You mean the order of the columns? Changing the order of the columns would be the same as rearranging each of the rows. Since you can input the whole alphabet in any order (as opposed to just a keyword to get things started, for example), it wouldn't add anything new. [[User:MagiMaster|MagiMaster]] 19:44, 6 June 2011 (UTC)
::It might be nice just to standardize the examples. Then we can have example input and output in the description for testing purposes/proof. --[[User:Mwn3d|Mwn3d]] 19:58, 6 June 2011 (UTC)

== Category ==
== Category ==



Revision as of 19:58, 6 June 2011

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)

You mean the order of the columns? Changing the order of the columns would be the same as rearranging each of the rows. Since you can input the whole alphabet in any order (as opposed to just a keyword to get things started, for example), it wouldn't add anything new. MagiMaster 19:44, 6 June 2011 (UTC)
It might be nice just to standardize the examples. Then we can have example input and output in the description for testing purposes/proof. --Mwn3d 19:58, 6 June 2011 (UTC)

Category

I hit the wrong button while I typing in the reason for the undo. Anyway, the category will be included automatically once this is promoted to full task status. MagiMaster 19:51, 6 June 2011 (UTC)