Skip to content

Latest commit

 

History

History
100 lines (52 loc) · 5.4 KB

time-travellers-story.md

File metadata and controls

100 lines (52 loc) · 5.4 KB

Shows how OTP can be made to yield an arbitrary plaintext.

[[[name:time-traveller section:99

It was cold. The winter was approaching in New York. Mr. Xi wrapped his coat tighter to the body and stared into the dark tunnel with desperation. The subway was late. There must have been an accident somewhere. He sighed.

"Beg your pardon, mister," said a men standing besides him on the platform. Mr. Xi was not able to tell the accent. It sounded strange but not entirely alien.

"I have a matter to discuss with you," said the stranger "but I am not sure how to approach it without making you think I am off my rocker."

"Give it a try," said Mr. Xi "it looks like we are going to wait here for a while."

"Well, let me put it this way: You were born in 1970 in Jersey City, married to Jane Reyes in 1989, two kids, you work as an accountant at..."

"Who are you? Police?"

"No. Let me finish. In couple of months you are going to get rich. In two years you'll own your own accounting agency. In 2025 you will make a trip around the world. I won't tell you when you are going to die. That's a curse rather than help. But let me at least assure you you have a long life in front of you. In short, I am coming from the future."

"You really are off your rocker."

"I though you'll think so. That's why I checked out details about your life before I left. Have I failed to convince you?"

"You tell people you are from the future and you expect them to believe you?"

"I guess that was naive from me. Anyway, I have a better proof. Take this paper. There are winning numbers of the next week draw of the lottery. I've encrypted them so that you cannot use them. But there are instructions to decrypt it on the paper. I'll send you the decryption key next week, after the draw. We will speak together again. Until then, farewell."

He made a little bow and disappeared before Mr. Xi managed to respond.

He looked at the paper, confused and put it into his pocket.


Next week he finds a letter in hix post box. It contains the key. The instructions on the paper say that the cypher is so called 'one-time pad' and explains how to decrypt it. Following the instructions is easy for an accountant. In no time Mr. Xi gets the message: "The winning numbers are three, thirteen,twenty seven,twenty eight and fifty." He hurries to the closest newspaper stand and checks the numbers. They match.

When they meet again the next time Mr. Xi admits that he is impressed. The time traveller explains that he came to the past to pursue a specific goal that has nothing to do with Mr. Xi. To get seed money he have looked up the winner of largest jackpot this year in the old newspaper and it turned to be Mr. Xi. "So I figured out that what happened was that I got back in time, told you the numbers and you've won."

"Here's the deal: You give me $100,000 which is enough to do what I need to do here and you give you the numbers. You, in turn, will get rich in two months."

"That sounds suspicious," says Mr. Xi "Why don't you just make the bet yourself?"

The time traveller sighs: "If it was that easy, I wouldn't be talking to you in the first place. The problem with time travel is that you have to avoid creating causal loops. Like killing your grandfather. You must have heard about that one."

Mr. Xi shrugs buy doesn't say anything.

"In short," says the traveller "using my knowledge from the future to win money in the past creates exactly such a loop. I would be risking getting wiped out of the time. It would be as if I never existed at all."

"Luckily though, there's a trick to avoid that. If you give me your money out of your free will, it's completely unrelated to my time trip and it won't create a time loop. Similarly, if you give you the numbers, it won't change anything -- as you recall I've already seen the announcement about you winning the lotery in the newspaper."

"$100,000 is a lot of money," says Mr. Xi "almost all my savings. Can we do yet another test?"

"What kind of test would you like?"

"What will be the weather tomorrow?"

The travller shrugs: "You can look that up yourself in weather forecast section in the newspaper."

He thinks a little and proposes: "Let's do the lottery trick again. I'll give you the numbers for the next week's draw. Once it may have been a coincidence, although an unlikely one, but twice, that must convince everybody."

Mr. Xi agrees, gets a paper with encrypted numbers once again and, after getting a new key and decyphering the message, gets the winning numbers once again. Finally, he is persuaded.

He pays the alien and gets the set of numbers for the next month's draw.

But when the draw comes the numbers are different. To add insult to injury he wins $10.

And now the question: How did the scam work?

If so move 34 sections backwards.

]]]

[[[name:time-traveller2 section:65

Have you figured out how the trick was done?

If so, find a key that will turn following cyphertext

ZUWLCELJCKKXV ZF,MP EOWZ,HB

into a plaintext saying:

BEWARE OF THE ONE EYED MAN!

]]]

Beware of the one eyed man! Go to section thirty three.

In numbers:

02 05 23 01 18 05 00 15 06 00 20 08 05 00 15 14 05 00 05 25 05 04 00 13 01 13 30 07 15 00 20 15 00 19 05 03 20 09 15 14 00 20 08 09 18 20 25 00 20 08 18 05 05 28

26 21 23 12 03 05 12 10 03 11 11 24 22 00 26 06 27 13 16 00 05 15 23 26 27 08 02

Z U W L C E L J C K K X V Z F , M P E O W Z , H B