Читаем Cryptonomicon полностью

These sheets were typed up by a Mrs. Tenney, an aged vicar's wife who works at Bletchley Park. Mrs. Tenney has a peculiar job which consists of the following: she takes two sheets of onionskin paper and puts a sheet of carbon paper between them and rolls them into a typewriter. She types a serial number at the top. Then she turns the crank on a device used in bingo parlors, consisting of a spherical cage containing twenty-five wooden balls, each with a letter printed on it (the letter J is not used). After spinning the cage the exact number of times specified in the procedure manual, she closes her eyes, reaches through a hatch in the cage, and removes a ball at random. She reads the letter off the ball and types it, then replaces the ball, closes the hatch, and repeats the process. From time to time, serious-looking men come into the room, exchange pleasantries with her, and take away the sheets that she has produced. These sheets end up in the possession of men like Waterhouse, and men in infinitely more desperate and dangerous circumstances, all over the world. They are called one-time pads.

He copies the letters from the one-time pad into the empty lines beneath his message:

TWOBY FOURB OARDS ONEHU NDRED ATHOP COGNQ DLTUI CAPRH MULEP

When he is finished, two out of every three lines are occupied.

Finally, he returns to the top of the page one last time and begins to consider the letters two at a time. The first letter in the message is T. The first letter from the one-time pad, directly below it in the same column, is A.

A is the first letter in the alphabet and so Waterhouse, who has been doing this cipher stuff for much too long, thinks of it as being synonymous with the number 1. In the same way, T is equivalent to 19 if you are working in a J-less alphabet. Add 1 to 19 and you get 20, which is the letter U. So, in the first column beneath T and A, Waterhouse writes a U.

The next vertical pair is W and T, or 22 and 19, which in normal arithmetic add up to 41, which has no letter equivalent; it's too large. But it has been many years since Waterhouse did normal arithmetic. He has retrained his mind to work in modular arithmetic--specifically, modulo 25, which means that you divide everything by 25 and consider only the remainder. 41 divided by 25 is 1 with a remainder of 16. Throw away the 1 and the 16 translates into the letter Q, which is what Waterhouse writes in the second column. In the third column, O and H give 14 + 8 = 22 which is W. In the fourth, B and O give 2 + 14 = 16 which is Q. And in the fifth, Y and P give 24 + 15 which is 39. 39 divided by 25 is 1 with a remainder of 14. Or, as Waterhouse would phrase it, 39 modulo 25 equals 14. The letter for 14 is O. So the first code group looks like

T W O B Y

A T H O P

U Q W Q O

By adding the random sequence ATHOP onto the meaningful sequence TWOBY, Waterhouse has produced undecipherable gibberish. When he has enciphered the entire message in this way, he takes out a new page and copies out only the ciphertext--UQWQO and so on.

The duke has a cast-iron telephone which he has put at Waterhouse's disposal. Waterhouse heaves it out of its cradle, rings the operator, places a call across the island to the naval station, and gets through to a radio man. He reads the ciphertext message to him letter by letter. The radio man copies it down and informs Waterhouse that it will be transmitted forthwith.

Very soon, Colonel Chattan, down in Bletchley Park, will receive a message that begins with UQWQO and goes on in that vein. Chattan possesses the other copy of Mrs. Tenney's one-time pad. He will write out the ciphertext first, using every third line. Beneath the ciphertext he will copy in the text from the one-time pad:

U Q W Q O

A T H O P

He will then perform a subtraction where Waterhouse performed an addition. U minus A means 20 minus 1 which equals 19 which gives the letter T. Q minus T means 16 minus 19 which equals -3, giving us 22 which is W. And so on. Having deciphered the whole message, he'll get to work, and eventually two by fours one hundred count will show up at the Pier.

<p><strong>Chapter 26 WHY</strong></p>

Epiphyte Corp.'s business plan is about an inch thick, neither fat nor skinny as these things go. The interior pages are slickly and groovily desktop-published out of Avi's laptop. The covers are rugged hand-laid paper of rice chaff, bamboo tailings, free-range hemp, and crystalline glacial meltwater made by wizened artisans operating out of a mist-shrouded temple hewn from living volcanic rock on some island known only to aerobically gifted, Spandex-sheathed Left Coast travel bores. An impressionistic map of the South China Sea has been dashed across these covers by molecularly reconstructed Ming Dynasty calligraphers using brushes of combed unicorn mane dipped into ink made of grinding down charcoal slabs fashioned by blind stylite monks from hand-charred fragments of the True Cross.

Перейти на страницу:

Похожие книги

Аччелерандо
Аччелерандо

Сингулярность. Эпоха постгуманизма. Искусственный интеллект превысил возможности человеческого разума. Люди фактически обрели бессмертие, но одновременно биотехнологический прогресс поставил их на грань вымирания. Наноботы копируют себя и развиваются по собственной воле, а контакт с внеземной жизнью неизбежен. Само понятие личности теперь получает совершенно новое значение. В таком мире пытаются выжить разные поколения одного семейного клана. Его основатель когда-то натолкнулся на странный сигнал из далекого космоса и тем самым перевернул всю историю Земли. Его потомки пытаются остановить уничтожение человеческой цивилизации. Ведь что-то разрушает планеты Солнечной системы. Сущность, которая находится за пределами нашего разума и не видит смысла в существовании биологической жизни, какую бы форму та ни приняла.

Чарлз Стросс

Научная Фантастика
Дневники Киллербота
Дневники Киллербота

Три премии HugoЧетыре премии LocusДве премии NebulaПремия AlexПремия BooktubeSSFПремия StabbyПремия Hugo за лучшую сериюВ далёком корпоративном будущем каждая космическая экспедиция обязана получить от Компании снаряжение и специальных охранных мыслящих андроидов.После того, как один из них «хакнул» свой модуль управления, он получил свободу и стал называть себя «Киллерботом». Люди его не интересуют и все, что он действительно хочет – это смотреть в одиночестве скачанную медиатеку с 35 000 часов кинофильмов и сериалов.Однако, разные форс-мажорные ситуации, связанные с глупостью людей, коварством корпоратов и хитрыми планами искусственных интеллектов заставляют Киллербота выяснять, что происходит и решать эти опасные проблемы. И еще – Киллербот как-то со всем связан, а память об этом у него стерта. Но истина где-то рядом. Полное издание «Дневников Киллербота» – весь сериал в одном томе!Поздравляем! Вы – Киллербот!Весь цикл «Дневники Киллербота», все шесть романов и повестей, которые сделали Марту Уэллс звездой современной научной фантастики!Неосвоенные колонии на дальних планетах, космические орбитальные станции, власть всемогущих корпораций, происки полицейских, искусственные интеллекты в компьютерных сетях, функциональные андроиды и в центре – простые люди, которым всегда нужна помощь Киллербота.«Я теперь все ее остальные книги буду искать. Прекрасный автор, высшая лига… Рекомендую». – Сергей Лукьяненко«Ироничные наблюдения Киллербота за человеческим поведением столь же забавны, как и всегда. Еще один выигрышный выпуск сериала». – Publishers Weekly«Категорически оправдывает все ожидания. Остроумная, интеллектуальная, очень приятная космоопера». – Aurealis«Милая, веселая, остросюжетная и просто убийственная книга». – Кэмерон Херли«Умная, изобретательная, брутальная при необходимости и никогда не сентиментальная». – Кейт Эллиот

Марта Уэллс , Наталия В. Рокачевская

Фантастика / Космическая фантастика / Научная Фантастика