Chapter 16 Algorithms

As a former programmer, Kaichi says his profession is now finally useful.

He first settled on an encryption algorithm.

RSA encryption algorithm, an algorithm widely used in the field of asymmetric encryption and electronic commerce, is also the algorithm that Jiayi has been most exposed to. RSA relies on factorization of extremely large integers to ensure security, and the more difficult it is to factorize a very large integer, the more reliable the RSA algorithm becomes.

RSA was proposed in 1977 and is the most widely studied public key algorithm, which has been around for more than 40 years and is still widely regarded as one of the best public key schemes.

Encryption algorithm is not so much a computer problem, but a mathematical problem, fortunately, the discipline that Jiayi learned in his last life is called computer science and technology, from computer principles to software engineering, and then to artificial intelligence, all computer algorithms have been studied, although it is more complicated, but it has laid a good foundation for the current Jiayi.

Jia Yi even slowed down the progress of designing armor for his younger brother, learning computer algorithms in the morning, and began to understand and verify the RSA algorithm in the afternoon, thoroughly understanding its principles, and if there was something he didn't understand, he had to review the relevant knowledge of advanced mathematics.

Fortunately, the encryption algorithm is high-end, but it is not out of the category of advanced mathematics, and he has just become a white-robed mage, and he is fixed on the acceleration rune, and his thinking ability and calculation ability have all been greatly enhanced, although the progress is not fast, but it is improving step by step every day.

And in the evening, Kaichi found time to design armor.

Jiayi's current computing speed is like having a primitive computer in his mind, the speed is fast, coupled with the knowledge of the previous life, the research of the RSA algorithm is fast, and he can gain every day.

This made him feel the thrill of learning again, and once he started, he couldn't stop.

The basis of the encryption algorithm is more of a mathematical problem, but mathematics is common in all worlds, maybe gold in two different worlds atomic composition is different, there are isotopes such things, but 1+1 is not mathematically possible to change the world is not equal to 2.

In fact, it only took a few days for the mathematical logic of the RSA algorithm to be proved by Jia Yi himself, and he understood every step thoroughly, and the algorithm was complete on a mathematical basis.

At this time, Jiayi's armor was only designed with one helmet, and several styles were designed but the final shape had not yet been finalized.

After the mathematical proof of the RSA algorithm, Jia began to design a magic implementation for the proof, and although this step is more complicated, it is not very difficult.

Jia Yi was in contact with the calculation circle when he was making a magic puppet, and it is already a very simple thing for Jia Yi to use magic to design the corresponding calculation module, if necessary, Jia Yi can even use the rune circle to make a calculator, of course, if the computer is not good, Jia Yi does not know much about machine language, which is beyond his ability.

Otherwise, Jia Yi would not have failed if he wanted to program the rune array.

In just 7 or 8 days, Jiayi's asymmetric key generation circle has been designed, which can automatically generate a set of asymmetric keys, the public key is encrypted externally, and the private key is used for decryption.

Comparatively speaking, the process of how to use public key encryption and private key decryption took more time for Jia Yi, which required him to have a deep understanding of the mage key encryption circle he was using now, and in order to understand this circle thoroughly, Jia Yi spent more time.

Almost half a month passed, and Jia Yi finally completed the design of this new encryption circle, and achieved success on a rune board.

It took him another two days to sort out the final paper, which was mailed to his teacher and then to the journal Mathematics for publication.

Originally, the encryption algorithm he studied could try to be published in "The Witcher", which is one of the top magazines in the mage world, but this encryption circle relies more on asymmetric key algorithms, so after thinking about it, Jia Yi still decided to publish it in the journal "Mathematics".

This magazine is a publication focusing on the field of mathematics, and it is very professional, but it does not sell well.

The reason why I mailed it to my teacher was that I hoped that my teacher would push it to the Supreme Council, so that the Supreme Council could update the mage badge and use its new asymmetric encryption algorithm.

Orlando has been a purple-robed mage for several years, and he has some connections in the High Council, and he has also met the legendary mages who are currently on duty in the High Council, at least what he strongly recommends, the mages of the High Council will not look at it.

If it weren't for the fact that Queenie had finished her trip to the academy and couldn't be contacted for the time being, Jia Yi would definitely send this paper to Queenie at the same time, so that Queenie could recommend it to her teacher.

Recommended by Legendary Mages, the effect is different again.

Jia Yi doesn't have any mental cleanliness habits, saying that it must be all based on his own strength or something, if there is something better, he will not refuse to go about the relationship or something.

After sending the paper, the encryption algorithm is almost complete, and the rest of the things are not something that Jia Yi can control, and he spends all the rest of his time designing new armor.

There are several knights in the Chamber of Commerce, and when Jiayi designs his armor, he can ask them to come over for a reference to see if it is suitable, especially whether the joints are flexible enough.

At this time, Selena had already prepared Jiayi's book and was ready to start typography.

Kaichi dragged Bronn in the courtyard of his retreat, asking for advice on helmets, where Kaichi usually settled when he was in Valoka.

Bronn looked at the helmet style sketched on Jiayi's drawings, although it was only a few simple strokes, but the details of each helmet were very full, in addition to the front, there were also details of the side and the back of the head.

He pointed to the helmet pattern on the drawing and said, "These two closed helmets are not good, unless they are meat shield type siege knights, otherwise the helmet that covers the face will affect the user's vision, but it is not good for the user." This kind of open helmet is okay, the face should not be covered, the forehead part should be higher, so as not to cover the head, and the helmet should have a lacing, and the inside should be soft, so that it is more comfortable. In fact, unless it is a frontal battlefield encounter, the knights are not inclined to wear helmets, which has too much impact on the line of sight, and the head is the most tightly defended place, if someone hits the head, even if there is helmet protection, it will not play a big role. ”

The head is both strong and fragile, especially if hit with a blunt object, it will look like a can opened by a can opener, and for the knight, the helmet is not much necessary. Although it is not as agile as the Ranger, flexibility is still very important for the Knight.

"In that case, don't use the helmet for the time being. Kaichi pursed his lips and put a cross on his helmet.

Next, Jiayi and the others were about to start discussing the main part of the armor, which was the most important and had the highest level of protection.

At this time, Selena ran over and said complainingly: "Jiayi, your book is about to be published, why don't you care at all." And when will the rest of "The Lord of the Rings" come out? ”

Kaichi handed the drawings to Bron, then turned around and said, "You can decide the matter of publishing yourself, don't bother me." The third part will have to wait for a while, your current book will be published slowly, one will be published in half a year, and it will take nearly two years to wait for the third part to be published, no matter what, there will be enough time. ”

Now the "Hobbit" and "The Lord of the Rings" are to be published, but "The Lord of the Rings" is not finished, according to Jiayi's plan, Selena divided "The Lord of the Rings" into three volumes for publication, so far the content can be published in two volumes, the first "Hobbit" will be published, and then the first volume of "The Lord of the Rings" will be published half a year later, and then the second volume will be published every six months, so as to maximize the sales of the book and maintain the popularity of the book.

Although Kaichi does not live on royalties, he certainly hopes that his books will be more popular.

Selena came to harass her, but she didn't get a result, so she had to leave in a huff, but Jia Yi didn't actually have two years, he had to serialize the novel in the academy newspaper first, and then he could assemble and publish it, at most there was more than a year, but for translating a book, time was enough.