Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 img
Octocat-spinner-32 scripts
Octocat-spinner-32 spoilers
Octocat-spinner-32 README.md
Octocat-spinner-32 secret.csv
README.md

"This Machine Kills Secret" Puzzle

Book Cover

On this project, I'm trying to crowd-source the solution of the puzzle you can find inside Andy Greenberg new book: This Machine Kills Secrets

You'll find:

  • secret.csv: a csv format file containing the page number and the decrypted morse code
  • scripts/verify_code_on_page.rb: a script to display the morse code that has been entered in secret.csv and verify it matches with the morse on the selected page
  • scripts/lrs.rb: a script ot find longest repeated substring
  • scripts/double_dots.rb: cut the full code depending on the position of the double_dots

Important: Andy Greenberg tells in a tweet that the current translation is invalid, but it should not prevent us from solving the puzzle! (Source: tweet_1 , tweet_2 )

Some correction on secret.csv has been made after discovering the segment-modulo deciphering, so that might have correct this alert.

More informations

From the book website:

This Machine Kills Secrets contains a cryptographic puzzle designed by puzzlemaster G. Mark Hardy. The first three readers to solve it (not including those who had access to advance review copies, please) and email their answer to agreenberg (at) forbes (dot) com will have their name published in the paperback edition of the book and any subsequent editions.

While there are several “intermediate” answers to be found in the puzzle, winners must find the “final” answer. Solvers will know they’ve found that final answer if it closely relates to Tim May’s cat.

Links

Decrypting...

Double-dot segments

$ ruby double_dots.rb
double-dot on page 216
code: MYENZVMYZZRYNHDW
first part: MYENZVMY
second part: ZZRYNHDW
---
double-dot on page 265
code: IHNIDOUOYUJFITCT
first part: IHNIDOUO
second part: YUJFITCT
---
section 0 (length 720): AGMZNYFPISGIHWLNDLAFVTAZESRMFHLUDKTHIESDYHPGPOCXAUHKAUSAZUDXNSUALXEDBVDJCPKMSEMLLTMXAEJFVFCWHVWGOYAVQYAWYZPOOEUHFNTVZOZXCXOALRAZTJIVFYTQXLOPYYUMHBCFDTBIYMQDXREEESIDWIOWLEIMXEGECAALIXWTONPURMRFOBNDTSCJPWJLKOOBLFSEXPCIWNHVKTAHUMMTXCZRPOIABECMMWAIRDSOVUBHTNYFNVYTXDCGSRLVPEYGSBBRNGHTLXMTESIUTQEQIFRWGMXEGSGMONJKPUZCHVUSCFTMGIUUNOXQNVTKNRLYEJSAUCUIXMSJBORATQTUIVPMZXAODMPBHOIIZXWDBVGCNOBLEJFGCTHHMSKXMRXTRNITBSJCIDAEWDVLTVECZTKUIXJSSIUFOBDHISRQKKUGWNAGRKIZYILZFCNAEATQEYNGMFHEIBHXORQSVYRFGXTMVCWHRYSQEVEDROKEPMHTJHKPADJYNEXKAJTUHUSRLHOTRBTZQXPHJMKSATIAOMHFYNCHGAESTFCIESRRPVDLINWDRMIXCVZUCECYKABEUVNUQXIEKTWSVCTNTYGYDTLSOEJJLTYKHUTGFSDNPEKEOIYBBMHAZORBDBAWWVRRUOACCTWVEKBDVIISTOTXGIQEAFXSOTYLRLTRXJTGECBMAIWFEEHXDEFDYXQLBEABMFEXFYLEQWVDKSRREVRBEULOVZQQISJKMYENZVMY
section 1 (length 160): ZZRYNHDWBNIBXEJSZAMPNOYPEXSFHYURFWHKNUBERJOHIOICNUZDILZBTSNGWIXILWONODQCHXENBVLWHVONIKYZEUSMVJDCUXSXVEIBMWCLWTKIJMMAWEXWEOILISHEQUSJHPVGDDEEVCVGMSAUMIBCIHNIDOUO
section 2 (length 232): YUJFITCTUACNCAUTSLDYYGAMMCEHGECHEXCBEEOKIZABLMHGEJBPANOTSXTHVCOUXYBGYTOXTVAIRVUSQFIHSLKXHKNZGKQGQGBLOEICESYEOXTVERNFLARHMSRBREPNURIXFNVCELAIVKFFALMUTDGKSYTRWSEFLPFOLCZVSTEODXSNJFSSULMOAGAJMQHNHNZQMEVYGCNJBEVTABADHAJEEJDCSGNGOBTQPNY

Code features

72 segments of 16 chars.

Double-dots on top of Z char (page 216) and of space (page 265).

Letter frequency

letter frequency

Tool: http://www.wiley.com/college/mat/gilbert139343/java/java11_applet.html

Longest repeated substring

ruby scripts/lrs.rb AGMZ...
"MXEG" (4 characters)

This substring is repeated twice in the entire document.

Strange double-dots on top of 2 codes

A strange double-dots appear twice on top of the code. These dots were not included in the morse translation, but surely have a meaning.

Page 216 code

img/page_216.jpg

Page 265 code

img/page_265.jpg

Complete code

Morse conversion: http://www.onlineconversion.com/morse_code.htm

AGMZNYFPISGIHWLNDLAFVTAZESRMFHLUDKTHIESDYHPGPOCXAUHKAUSAZUDXNSUALXEDBVDJCPKMSEMLLTMXAEJFVFCWHVWGOYAVQYAWYZPOOEUHFNTVZOZXCXOALRAZTJIVFYTQXLOPYYUMHBCFDTBIYMQDXREEESIDWIOWLEIMXEGECAALIXWTONPURMRFOBNDTSCJPWJLKOOBLFSEXPCIWNHVKTAHUMMTXCZRPOIABECMMWAIRDSOVUBHTNYFNVYTXDCGSRLVPEYGSBBRNGHTLXMTESIUTQEQIFRWGMXEGSGMONJKPUZCHVUSCFTMGIUUNOXQNVTKNRLYEJSAUCUIXMSJBORATQTUIVPMZXAODMPBHOIIZXWDBVGCNOBLEJFGCTHHMSKXMRXTRNITBSJCIDAEWDVLTVECZTKUIXJSSIUFOBDHISRQKKUGWNAGRKIZYILZFCNAEATQEYNGMFHEIBHXORQSVYRFGXTMVCWHRYSQEVEDROKEPMHTJHKPADJYNEXKAJTUHUSRLHOTRBTZQXPHJMKSATIAOMHFYNCHGAESTFCIESRRPVDLINWDRMIXCVZUCECYKABEUVNUQXIEKTWSVCTNTYGYDTLSOEJJLTYKHUTGFSDNPEKEOIYBBMHAZORBDBAWWVRRUOACCTWVEKBDVIISTOTXGIQEAFXSOTYLRLTRXJTGECBMAIWFEEHXDEFDYXQLBEABMFEXFYLEQWVDKSRREVRBEULOVZQQISJKMYENZVMYZZRYNHDWBNIBXEJSZAMPNOYPEXSFHYURFWHKNUBERJOHIOICNUZDILZBTSNGWIXILWONODQCHXENBVLWHVONIKYZEUSMVJDCUXSXVEIBMWCLWTKIJMMAWEXWEOILISHEQUSJHPVGDDEEVCVGMS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DILZBTSNGWIXILWONODQCHXENBVLWHVONIKYZEUSMVJDCUXSXVEIBMWCLWTKIJMMAWEXWEOILISHEQUSJHPVGDDEEVCVGMSAUMIBCIHNIDOUOYUJFITCTUACNCAUTSLDYYGAMMCEHGECHEXCBEEOKIZABLMHGEJBPANOTSXTHVCOUXYBGYTOXTVAIRVUSQFIHSLKXHKNZGKQGQGBLOEICESYEOXTVERNFLARHMSRBREPNURIXFNVCELAIVKFFALMUTDGKSYTRWSEFLPFOLCZVSTEODXSNJFSSULMOAGAJMQHNHNZQMEVYGCNJBEVTABADHAJEEJDCSGNGOBTQPNYI

Codes by Chapters

Introduction

AGMZNYFPISGIHWLN

Chapter 1

DLAFVTAZESRMFHLUDKTHIESDYHPGPOCXAUHKAUSAZUDXNSUALXEDBVDJCPKMSEMLLTMXAEJFVFCWHVWGOYAVQYAWYZPOOEUHFNTVZOZXCXOALRAZTJIVFYTQXLOPYYUMHBCFDTBIYMQDXREEESIDWIOWLEIMXEGECAALIXWTONPURMRF

Chapter 2

OBNDTSCJPWJLKOOBLFSEXPCIWNHVKTAHUMMTXCZRPOIABECMMWAIRDSOVUBHTNYFNVYTXDCGSRLVPEYGSBBRNGHTLXMTESIUTQEQIFRWGMXEGSGMONJKPUZCHVUSCFTMGIUUNOXQNVTKNRLY

Chapter 3

EJSAUCUIXMSJBORATQTUIVPMZXAODMPBHOIIZXWDBVGCNOBLEJFGCTHHMSKXMRXTRNITBSJCIDAEWDVLTVECZTKUIXJSSIUFOBDHISRQKKUGWNAGRKIZYILZFCNAEATQEYNGMFHEIBHXORQS

Chapter 4

VYRFGXTMVCWHRYSQEVEDROKEPMHTJHKPADJYNEXKAJTUHUSRLHOTRBTZQXPHJMKSATIAOMHFYNCHGAESTFCIESRRPVDLINWDRMIXCVZUCECYKABEUVNUQXIEKTWSVCTN

Chapter 5

TYGYDTLSOEJJLTYKHUTGFSDNPEKEOIYBBMHAZORBDBAWWVRRUOACCTWVEKBDVIISTOTXGIQEAFXSOTYLRLTRXJTGECBMAIWFEEHXDEFDYXQLBEABMFEXFYLEQWVDKSRREVRBEULOVZQQISJKMYENZVMYZZRYNHDWBNIBXEJSZAMPNOYP

Chapter 6

EXSFHYURFWHKNUBERJOHIOICNUZDILZBTSNGWIXILWONODQCHXENBVLWHVONIKYZEUSMVJDCUXSXVEIBMWCLWTKIJMMAWEXWEOILISHEQUSJHPVGDDEEVCVGMSAUMIBCIHNIDOUOYUJFITCTUACNCAUTSLDYYGAM

Chapter 7

MCEHGECHEXCBEEOKIZABLMHGEJBPANOTSXTHVCOUXYBGYTOXTVAIRVUSQFIHSLKXHKNZGKQGQGBLOEICESYEOXTVERNFLARHMSRBREPNURIXFNVCELAIVKFFALMUTDGKSYTRWSEFLPFOLCZVSTEODXSNJFSSULMO

Conclusion

AGAJMQHNHNZQMEVYGCNJBEVTABADHAJEEJDCSGNGOBTQPNYI
Something went wrong with that request. Please try again.