Skip to main content
  • Home
  • Library
  • Read
    • Popular
    • Charts
    • Browse
    • Categories
    • Wikis
    • Glossary
  • Request
  • Activity
  • Leaderboard
  • Help
Our Apps
  • DaoSearch
  • Narratorr
Social
  • Discord
  • Patreon
The Scholar's Grind
Chapter 111

Millionaires' Problem

1,559 words 5 min read 5 views 3mo ago Source ​
Skip to the end of the chapter
Prev
Next

The RSA encryption algorithm relied primarily on the difficulty of factoring large integers into prime factors.

For example, everyone knew that 17 × 13 = 221. But when we saw the number 221, could we immediately tell that it equaled 17 × 13? Not necessarily.

And the larger those two numbers became, the harder they were to crack.

Of course, sieve methods, specifically designed for factoring large integers, became an important means of attacking this kind of encryption.

After all, the basic principle of a sieve was to keep multiplying upward while eliminating all sorts of factors.

Thus, when targeting RSA encryption systems, there was an attack method known as the Number Field Sieve, widely recognized as the most effective method for breaking RSA encryption.

Of course, the same problem remained: the parity problem inherent in sieve methods made them troublesome when handling especially large numbers. Modern RSA encryption algorithms used precisely such enormous numbers, so using a sieve inevitably introduced massive deviations during the cracking process.

But now...

"Right... cracking RSA passwords with sieve methods used to be quite difficult. After all, the parity problem was a major issue."

Maynard laughed as he patted Xiao Yi on the shoulder. "But now, the impact of the parity problem has been completely suppressed by your classification sieve. Those people working in cryptography are going to have headaches."

Terence Tao laughed as well. "Don't people outside always think that mathematics has no practical applications? Well, there you have it. We've given them a practical application: a cryptographic attack."

Seeing the two mathematicians gloating, Professor Kleinrock, the computer scientist beside them, said irritably, "Is that really how you should be thinking? If the banking password system has a problem, then social stability will have a problem too."

"Relax, we all know that this only creates a risk of being cracked. Actually breaking it is still a long way off, since even using sieve methods takes an enormous amount of time." Terence Tao was not intimidated. He waved his hand. "Still, we're happy to give them a little headache."

People like them who studied pure mathematics were often asked what applications their research had. This frequently led to friction between the pure mathematics community and other fields.

For example, after Zhang Yitang made a breakthrough in the twin prime conjecture, Google had once invited him to give a lecture. But he refused because he said he was afraid that after giving the lecture, people would ask what use his result had.

Likewise, after Perelman proved the Poincaré Conjecture, universities invited him to give lectures explaining his proof.

Then someone asked what applications there were after he had solved the problem. The moment Perelman heard that question, he flew into a rage, saying how could anyone ask such a stupid question? Unable to stand it any longer, he simply returned to Russia.

In short, people doing pure mathematics and people doing applications basically could not see eye to eye.

Of course, this had also formed a certain temperament among some pure mathematicians. The less applicable the things they produced were, the prouder they became, believing that this was true pure mathematics.

Hearing the professors' discussion, Xiao Yi shook his head helplessly.

This was not intentional on his part. How could he have imagined that creating the classification sieve would pose a risk of cryptography being cracked?

"All right, stop gloating. I'm asking you now how this problem should be solved. Anything involving pure mathematics will ultimately fall on the shoulders of you pure mathematicians."

Professor Kleinrock said.

The three mathematicians then composed themselves and waited for Kleinrock's explanation.

"Um... to explain what a Multi-Party Security Algorithm is, let's begin with a classic problem."

"The Millionaires' Problem. Do you know it?"

Terence Tao nodded. He had some research experience in computers as well. More than a decade ago, he had created something called Information Acquisition Guidance Theory. Simply put, it was a digital compressed imaging technology that was eventually widely applied across the information field and many other areas, fully demonstrating his formidable abilities in applied mathematics as well.

However, Xiao Yi and James Maynard looked somewhat troubled.

The latter was better off, saying that he had heard of it. "I remember that the person who proposed this problem was a Turing Award winner."

"Haha, yes." Kleinrock nodded. "Come to think of it, this Turing Award winner, like Xiao Yi, was Chinese. His English name was Andrew Yao, and his Chinese name seemed to be Yao Qizhi."

"Simply put, the Millionaires' Problem assumes that there are two millionaires named Alice and Bob who want to compare who is wealthier. But they do not want to reveal to each other exactly how much money they have. Under those circumstances, how should they compare their wealth?"

As he spoke, Kleinrock wrote the description on the blackboard.

Suppose Alice and Bob's assets were i and j respectively, with both i and j between one million and ten million. How could they compare the sizes of i and j without revealing the specific value of i or j to the other party?

Looking at the problem, Terence Tao knew how to solve it, but Maynard and Xiao Yi began to think.

The problem looked rather interesting.

After leaving the two of them a little time to think, Kleinrock did not actually expect them to answer on the spot. He then said, "All right, we can come back to this problem later..."

"Wait."

At that moment, Xiao Yi spoke. "I think this problem might be solved like this."

He then walked to the blackboard, picked up a pen, and began to write.

Let M be a set whose elements are all N-bit nonnegative integers, and let QN be the permutation group from M to M.

"If my design is not wrong, then as long as they compare their wealth according to the following protocol, they can do so while keeping their own assets confidential."

"First, Alice randomly selects an element Ea from QN as her public key, tells it to Bob, and retains Ea's inverse, Da, as her private key."

"Then Bob randomly chooses an N-bit integer x and uses the public key Alice gave him to calculate k = Ea(x)..."

As Xiao Yi began explaining, the other three fell somewhat silent.

They exchanged glances, caught completely off guard by the scene before them.

James Maynard in particular.

If he really studied this problem carefully, it would not be difficult enough to stump him. As something similar to a mathematical modeling problem, its difficulty was only so-so.

After all, the problem had already been fully specified. In terms of abstraction, compared to the problems in Analytic Number Theory that Maynard studied, it was child's play.

But asking him to react so quickly and immediately start offering a solution was beyond him.

Watching Xiao Yi fill half the blackboard, Maynard experienced for the first time what a dimensionality-reduction strike felt like.

Perhaps this was how his students had felt when he demonstrated what top-tier mathematical logical thinking was?

It was like he had cheats enabled!

Kleinrock's reaction was much the same as Maynard's. He had not expected them to solve the problem on the spot when he raised it. The few minutes he had left them were merely meant to help them become a little familiar with the question.

Yet who could have imagined that only a few minutes later, this young man had already started writing?

Forgive him for being a computer scientist; he was not particularly good at mathematics, at least compared to these mathematicians. After all, as the saying went, only those truly good at mathematics could remain rooted in pure mathematics. Those who were not good at math changed fields early on.

But Xiao Yi's "being good at mathematics" was a little too far beyond his imagination.

"Step 4: Alice randomly generates an N/2-bit prime p and calculates zu = yu mod p, where u = 1, 2, ..., 10."

"Then we ensure that at least two of all zu are unequal. Otherwise, select p again and recalculate x..."

"Alice sends the prime p and relabels z1, z2, ..., zi, zi+1... as..."

"Bob checks zj`. If zj` = x mod p, then i is greater than or equal to j; otherwise, i is less than j."

After writing the final stroke on the blackboard, Xiao Yi turned around and reviewed everything from beginning to end. Satisfied, he nodded, put down the pen, and said to the other three.

"In this way, Alice and Bob's wealth comparison is complete. Except when their wealth is equal, neither has revealed their actual assets to the other."

"Professor Kleinrock, this method of mine should work, but I don't know how to write the actual program." Xiao Yi said modestly. "I know absolutely nothing about programming."

Yet what puzzled him was that the three professors before him were all somewhat silent.

After a moment, Kleinrock quietly asked Terence Tao, "Are all people who are good at mathematics like this? They solve a difficult problem in our computer science field as if it were... addition and subtraction within a hundred?"

Terence Tao repeatedly waved his hands. "Uh... not really. But you know, there are always some special cases in this world, some low-probability events. Xiao Yi is one such low-probability event. You understand."

End of Chapter
PrevPreviousNext
NovelSummaries

Before you continue

How was this translation?

Explore the wiki

Xiao Yi
Terence Tao
Twin Prime Conjecture

Comments

No comments yet.
AboutStatsAPIChangelogStatusContactPrivacyTermsDMCA
© 2026 RandomTranslator·v3.28·RSS