You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

Jiro comments on Stupid Questions March 2015 - Less Wrong Discussion

5 Post author: Gondolinian 03 March 2015 11:37PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (199)

You are viewing a single comment's thread. Show more comments above.

Comment author: Jiro 07 March 2015 08:37:34PM 0 points [-]

I won't actually try to crack this since writing the program would take more time than I'm inclined to spend here, but the principle is simple: Do frequency analysis based on assuming the key is a particular length. If taking every 5th character gives you a letter frequency that resembles English, but taking every 4th or 6th character does not, then the key is 5 letters long. Proceed from there.

Comment author: gjm 07 March 2015 11:38:42PM 0 points [-]

Yup. (One handy trick is to take message - shift(message,k) mod 26 for candidate values of k, and see which has a histogram that looks most like that of (English text minus other English text). But it's probably actually better to find good candidate shifts for each evenly-spaced subset of the text and look for ones that match up.)

JRMayne's latest sample is still pretty short. It might require human cleverness to solve. If I have time tomorrow (and unless someone else has done it first) I may have a go.

Comment author: gjm 09 March 2015 12:53:47AM 0 points [-]

(No, didn't have time. Sorry. Probably no time on Monday either...)