Talk:Caesar cipher: Difference between revisions
Content added Content deleted
(There are no such requirements.) |
|||
Line 6: | Line 6: | ||
How lenient is this task? Can I capitalize all input and throw out all non-alphabetic characters? Can I assume ASCII? On the IRC we came up with a 65 character solution which assumes all input is capital alphabetic... --[[User:Crazyfirex|Crazyfirex]] 20:56, 18 September 2011 (UTC) |
How lenient is this task? Can I capitalize all input and throw out all non-alphabetic characters? Can I assume ASCII? On the IRC we came up with a 65 character solution which assumes all input is capital alphabetic... --[[User:Crazyfirex|Crazyfirex]] 20:56, 18 September 2011 (UTC) |
||
: Why not provide two solutions then, a more general program besides the 65 character one. It's unlikely either one will take too much effort to write. (btw, I think at Caesar's time there were only 24 letters in the Latin alphabet, all upper case, and no punctuations or arabic numerals existed; buts that's probably not relevant) --[[User:Ledrug|Ledrug]] 21:13, 18 September 2011 (UTC) |
: Why not provide two solutions then, a more general program besides the 65 character one. It's unlikely either one will take too much effort to write. (btw, I think at Caesar's time there were only 24 letters in the Latin alphabet, all upper case, and no punctuations or arabic numerals existed; buts that's probably not relevant) --[[User:Ledrug|Ledrug]] 21:13, 18 September 2011 (UTC) |
||
:: I was the task author. [[Vigenère cipher]] required to discard non-alphabetic characters, and [[Rot-13]] required to preserve them. [[Caesar cipher]] has no such requirements. Among these solutions, some discard non-alphabetic characters, some preserve them, and some might only work with uppercase (not lowercase) input. --[[User:Kernigh|Kernigh]] 21:54, 18 September 2011 (UTC) |
Revision as of 21:54, 18 September 2011
Draft task because I have not yet posted a solution. --Kernigh 00:51, 12 June 2011 (UTC)
- When you create a task you don't have to explain why it's a draft. All tasks should be drafts when they start out. --Mwn3d 00:54, 12 June 2011 (UTC)
more specifications?
How lenient is this task? Can I capitalize all input and throw out all non-alphabetic characters? Can I assume ASCII? On the IRC we came up with a 65 character solution which assumes all input is capital alphabetic... --Crazyfirex 20:56, 18 September 2011 (UTC)
- Why not provide two solutions then, a more general program besides the 65 character one. It's unlikely either one will take too much effort to write. (btw, I think at Caesar's time there were only 24 letters in the Latin alphabet, all upper case, and no punctuations or arabic numerals existed; buts that's probably not relevant) --Ledrug 21:13, 18 September 2011 (UTC)
- I was the task author. Vigenère cipher required to discard non-alphabetic characters, and Rot-13 required to preserve them. Caesar cipher has no such requirements. Among these solutions, some discard non-alphabetic characters, some preserve them, and some might only work with uppercase (not lowercase) input. --Kernigh 21:54, 18 September 2011 (UTC)