The Cipher Read online

Page 8

Melanie was puzzled. “You couldn’t hear?”

  “Oh, well, I was sort of eavesdropping. Chrissy was explaining it to Pam in her cubicle, and I was just kind of around. In the background. Until they noticed me.”

  “Oh.”

  “I mean, how could I not listen in? I had to.”

  Melanie pulled the folder back across the table, thinking that Jenna had a point. It was such a wild story, so different from her speculation about an affair. Melanie was tempted to write it off, but neither the Easter bunnies nor Jenna exactly had any motive, much less the imagination, to make something like this up.

  Melanie wondered if Jenna knew about Andrei Tarasov committing suicide. “So what happened to him?” she said.

  Jenna shook her head. “I’m not sure. Chrissy shut up really fast when she saw me there. I think I heard something about him being deported.” She swiped the folder from Melanie again and turned to the back. “Let’s see why he left,” she said, running her finger down the page. “Oh my God. Reason for departure: death.” Jenna gave Melanie a wide-eyed look. “Karma’s a bitch, eh? No, I totally shouldn’t say that. That’s terrible.”

  Lunchtime customers were filling the deli now, jostling for space in the tight quarters. Melanie didn’t pay them any mind other than checking to make sure none of them was from Alyce.

  A passport-sized picture of Andrei Tarasov stared up at them from the upper right-hand corner of the page. Milky skin, undernourished, but not altogether bad-looking. He had a child-man quality about him; his wispy black beard looked like an effort to play grown-up that didn’t work.

  A part of Melanie felt guilty for not telling Jenna about the suicide, but she couldn’t do that. Her dad had been hiding something this morning—Melanie was sure of that now. Telling her about a Russian spy in the company, who, by the way, had shot himself on Mr. Smylie’s front lawn, might not have been ideal morning chatter, but her dad had pretended that he barely knew about Tarasov.

  There was something bigger here that her dad didn’t want to talk about, Melanie thought as she and Jenna gathered their things. Melanie didn’t even know what the possible secrets were, but now they seemed much larger and scarier than they had just a few hours earlier.

  She couldn’t afford to give away any information about Andrei Tarasov. Not until she found out everything. Not until she found out that her dad wasn’t mixed up in this in any way. And not until she discovered why Smiles’s birth mother, Alice, had an interest in Tarasov. Alice’s letter to Smiles had something to do with him, something that Rose had discovered and didn’t like. But what?

  Melanie felt a pang at the thought of Smiles. She had an urge to hug him.

  They walked back to Alyce under a bright blue sky that mocked Melanie’s dark thoughts. The April sun was weak, but Jenna beamed into it contentedly as she slipped on her jacket, savoring the promise of warmth.

  “Sooo . . . what were you doing with that guy’s file, anyway?” she said.

  Oh God. “Oh, yeah, well, I was boxing all these files up the other day and this one just ended up in my bag somehow.”

  It was her worst lie on a day of many lies. Whatever—Jenna always tried to stay in Melanie’s good graces; hopefully she wouldn’t start an investigation or anything. When Melanie’s cell rang again, she grabbed for it like a life preserver.

  Caller ID: Katie Andrews. Her friend from the class ahead of her at Kingsley. The one who had gone to Smith College, and who Melanie was going to visit tomorrow.

  “Sorry, Jenna, have to take this,” she said.

  “No prob,” Jenna said easily.

  Melanie smiled back at Jenna, feeling a strange new affection for her.

  “It’ll just be a sec,” Melanie said, bringing the phone to her ear and knowing she’d be stringing out the conversation with Katie all the way back to Alyce.

  43

  “SPILL IT,” SMILES said.

  He snatched up his duffel bag and commandeered the far bed. The morning’s drama had worn his nerves thin, and part of him wanted to slump over for a nap. But first, he really needed to hear this.

  Ben trailed him inside, pulling a chair out from one of those completely useless tables they put in the corner of hotel rooms. “Okay, okay. But . . . well . . . you’re not going to like this.”

  Smiles couldn’t imagine how Ben’s formulas—whatever they amounted to—could possibly affect him. “Try me.”

  Ben heaved a sigh. “I figured out something about prime numbers this morning.”

  “Umm, yeah, I got that much.”

  Ben extracted his notebook from the backpack like he was defusing a bomb. He gripped it tight to his chest. “The thing I figured out—it’s more dangerous, in a way, than a nuclear weapon. It could cause all kinds of trouble.”

  “No joke, dude, you’ve got to stop talking in riddles.”

  “Just listen. I told you about the Riemann Hypothesis, right?”

  “But that’s not what you figured out?”

  “No,” Ben said.

  Even hearing this a second time, it was still a buzzkill.

  Smiles was still stuck on the idea of a million-dollar score—probably because it was exactly the kind of thing he wanted for himself someday. When he dared to, he imagined what it would be like to tell his dad that he’d started his own company, that he’d made his first sale, that he was succeeding at something. He just had to find the something, and it had to be relatively easy. Maybe he should go back to that idea he’d had to make a beer pong app for smartphones for when you were drinking but didn’t have a Ping-Pong table around. It was pretty brilliant. You could make one for Quarters, too. Spin the Bottle. All kinds of stuff. There had to be tons of cash in those things, and Ben could probably do the programming with his eyes closed.

  “Anyway,” Ben said, “I was working on the Riemann Hypothesis, and I got to thinking about the shape of elliptical curves in space and how they—”

  Smiles made a rapid rolling movement with his index finger.

  “Yeah, fine. I figured out how to fast-factor the product of two primes.” Ben said this as if he had just made the Statue of Liberty disappear.

  Smiles let the silence hang for a second. He didn’t have the first clue what it meant to factor the whatever of blah blah blah. Ben must have seen his confusion, because he grabbed a pad of hotel stationery and a pen. “It’s like this,” he said, writing:

  3 × 7 = 21

  “Three and seven are both prime numbers. You multiply them and get 21, right?”

  “Yepper.”

  “Okay, well, going this way is easy . . .” He wrote it with an arrow:

  3 × 7 21

  “Simple. But there’s no good way to go backward, to start with 21 and get the 3 and the 7.” He wrote:

  21 3 × 7

  “Or, there wasn’t until today. Now I have an algorithm that can do it in a snap.”

  Smiles considered the page. “I take it this means something important,” he said, “besides the fact that you’re a math geek?”

  Ben wilted with frustration. “Smiles . . . it’s, like, revolutionary.”

  Something about Ben’s disappointed reaction stabbed at him the way it would coming from his dad. “Just kidding you, man.” He straightened up. “Congrats, seriously. But why’d you freak out down there? Saying you weren’t safe and everything.”

  Ben leaned forward, elbows on his knees. “You should know, Smiles.”

  Was he joking? “Well, I don’t.”

  “All computer encryption—like, your dad’s whole company—is built on the premise that you can’t factor the product of two prime numbers. But I can do that now.”

  Smiles squinted at him. “What are you saying?”

  The air-conditioning was blasting into the room’s heavy curtains. The air pushed ripples across the fabric, as if ghosts were gathering for a m
ixer back there. Smiles felt the tingle of goose bumps on his arms.

  “I’m saying that if you gave me a halfway decent computer hacker, in about a half hour I could decode any message that Alyce encrypts.”

  “Hold up. Really?”

  “Any of them,” Ben said. “Anything encrypted by Alyce, or any other company that uses public-key cryptography, I could get.”

  Alyce encrypted messages for all kinds of businesses. Smiles didn’t really know what they were, but he knew they were big ones. His blood was pumping now in a way that was different from his excitement over the beer pong app.

  “So, you could get all the credit card numbers from Amazon?”

  Ben let out a hard-edged laugh. “It’s like the guy said this morning. Encryption doesn’t just protect credit card numbers. It’s how they keep everything on computer networks secure. People buying stocks. Wire transfers. It’s how they control water systems. Airplanes and missiles. Nuclear power plants, for all I know.”

  Water systems.

  Nuclear power plants.

  The stock market.

  Smiles was getting a bigger picture now, and as he did, something heavy settled over his body.

  “You could see all those things?” Smiles said. “How?”

  “’Cause I can generate private keys.”

  Smiles closed his eyes, trying to catch up.

  “The gate and the door, remember that? That’s how public-key cryptography works, but it’s just an analogy. Your dad’s the one who actually made it work electronically. Without his system, you couldn’t exchange secret messages over the Internet with people you didn’t trust completely. It was a total revolution, and it’s all based on primes.”

  Smiles nodded, more to calm Ben down than anything. “So instead of keys, they use prime numbers somehow,” he ventured.

  “Yes, exactly!”

  “Chill. Just break it down.”

  Ben pointed to what he’d written before:

  3 × 7 = 21

  “Three and seven are primes. Because they’re primes, they’re the only two numbers that you can multiply together to get 21.”

  “Okay.”

  “So 21 is my public key—it opens my gate. And 3 and 7 are my private keys. They open my door.”

  “Okay,” Smiles said, feeling a foreign twinge of pride within himself for keeping up.

  “So say you want to send me your credit card number. You type it in the computer, and then the encryption program scrambles it up using a formula based on my public key, 21. The way the encryption is written, the only way to undo it is to know the two numbers that when multiplied together equal 21. Which only I know, ’cause they’re my private keys.”

  “And even though people know that your public key is 21, it’s hard to figure out that your private keys are 3 and 7?”

  “Right! But that’s what I figured out today, how to do this . . .” He underlined:

  21 3 × 7

  “It’s always been impossible to do in a short time with really huge numbers. It’s called factoring. The only way that people can do it is to basically try random combinations to see if you get the public key when you multiply them together. With the big numbers they use, it takes forever to try all the possible combinations.”

  “Forever? Even with computers?”

  Ben nodded. “The sun would burn out before you would get the private keys to a really long public key. Literally. It’ll be faster when quantum computing gets here, but for now it takes forever. When your dad started Alyce, he did this thing to prove how good his system was. He put a number out there, the product of two prime numbers. He challenged anyone to find the two prime factors within ten years. Somebody actually figured it out, but it took them twelve years. Now, with my algorithm, I can do it in under a second.”

  “Which means you can unscramble the messages.”

  “Yeah.” Ben sat back in his chair, spent. “With my algorithm, I can figure out all the private keys in the world.”

  Smiles really needed to stretch his legs, but he was glued to the bed. “If somebody got your formula, they could, like, wreck the stock market, couldn’t they?”

  “They could do anything,” Ben said. “Smiles, this algorithm—the government would consider it an instrument of war. They would actually consider it illegal to possess. Didn’t you hear that guy talking about the NSA?”

  Smiles nodded.

  “They don’t even want people talking about little research discoveries. But this is on a different level. This is everything. Do you see how badly people would want this algorithm? You see what terrorists could do with this? People would die for—”

  “Slow down, slow down. I get it.”

  Ben was reentering meltdown mode, but Smiles couldn’t blame him. He wasn’t kidding about having a nuclear bomb in that backpack.

  The whole thing reminded him of when he’d gotten kicked out of Kingsley, just because he’d agreed to keep Darby Fisher’s weed in his closet and they happened to find it there. The problem was so huge, there was nothing to do about it.

  Ben was looking at Smiles with a deep sadness in his eyes. “Honestly, I was just trying to think of a solution to the Riemann Hypothesis. I was never trying to do this.” He crushed the page from the stationery and flung it to the dresser. “I’m sorry.”

  “Sorry?” Smiles didn’t understand the apology until it hit him. “Because your algorithm could make my dad’s whole company irrelevant.”

  “You’re not mad at me?”

  “No,” he said quickly, though he saw the problem clearly enough. He lifted off the bed with a syrupy weight in his legs and shut off the air-conditioning. After that, he didn’t know what to do. Ben took his place on the bed, staring up at the ceiling in a semicatatonic way, and the weighty silence of the room was making Smiles edgy. He felt an urgent desire to play some Call of Duty, to shoot some pool, to watch his fish. He could spend hours staring at them, envying their bubbled lives. No intrusions, no pressures, no expectations to meet. Eat your food, play in the rocks, waggle your tail—as far as lifestyles went, it was hard to beat.

  Smiles opened the curtains just to do something. Their fifth-floor room looked out on an impossibly big parking lot, and the sun glanced back at Smiles from a thousand windshields. He would have let some fresh air into the room, but he knew they always rigged the windows shut in casino hotels so gamblers couldn’t commit suicide after a bad night at the tables.

  “I had a pretty strange experience myself this morning,” he said suddenly, surprising himself. “You know that big-shot professor? The special guest? That was my mother. She left when I was two.” He spoke slowly, talking to the view. Ben didn’t answer, but it was better that way. He just needed to speak it out loud to someone, and in the silence left by Ben he could imagine Melanie listening to his words. “It was so weird seeing her up there. I thought I’d never see her again in my life. Maybe this morning was the last time, I don’t know.”

  Smiles heard shifting behind him, and when he turned Ben was up on his elbows. “Are you serious? That was your mom? My God, Smiles . . .”

  Ben stopped, unsure of what to say, and just as suddenly as he’d started talking about his mother, Smiles wished he’d kept his mouth shut. He couldn’t expect Ben to make it better for him.

  “Are you—”

  “Yeah, fine,” Smiles said. He needed to move. He walked to the door and turned back. “Look, you gonna be okay here for a while?”

  “Where are you going?”

  “For a walk, I guess,” he said. And then Smiles wobbled aimlessly into the hall, wishing he were the kind of person who could deal with big problems.

  47

  “BLACKJACK.”

  The dealer pushed three more purple chips in front of Smiles.

  The poker room had been too crowded to deal with, so Smiles was
playing blackjack at a hundred-dollar minimum table. It was just him, the dealer, and a crotchety Asian woman in a tennis visor at a “high-stakes” table sectioned off from the main casino. A few people hung at the bronze railing, looking on with hungry eyes. Like they were peering into a limousine, wondering if a star was inside.

  His stacks of chips teetered on the velvet. He must have been up over $5,000 with the ridiculous string of blackjacks he’d had. Any other day, it would have been cause for major celebration. The only thing he could think about now, though, was Ben’s discovery.

  “Blackjack again,” the dealer said, and shoved more chips across. He tossed a black hundred-dollar chip back to her for a tip. She was definitely more excited about all this than he was.

  Of course, she didn’t know that a genius kid had just discovered a way to destabilize her whole way of life. To see all her banking records. To steal money from her casino. To find out any electronic secret that she’d ever had. Not that anyone would care about her little secrets, when they could cause floods and wars and who knew what else.

  There’d be panic if people knew. Those people collected at the rail, they’d be rushing home, stocking up on powdered milk and canned goods and duct tape. Or whatever you were supposed to buy in, like, a code-red situation.

  Smiles couldn’t blame Ben for being scared. His algorithm might have been an amazing discovery, but he’d have to keep it under wraps forever—never getting any credit, never getting any reward. It was too dangerous to share with anyone. Even telling the NSA guys would be taking a huge chance. It made Smiles think of those sci-fi movies where a friendly alien comes to Earth and all the government wants to do is hold it captive and stick it with needles. Smiles wondered how long Ben could take the strain of holding on to such explosive knowledge.

  The kicker, of course, was that it could take down Alyce Systems, too.

  “Dealer busts.” More chips for Smiles.

  “Lucky boy,” said a voice behind him.

  It was Erin, the pixie from the registration desk. Showered and fresh, in a white sundress that showed off her tan. The tension in Smiles’s neck melted away at the sight of her.