Wang Xueba System
Chapter 251 Code Security Issues
Seeing this scene, Sun Yi, who was about to stretch, paused in mid-air with his arms stiff.
"That..." Sun Yi put down his hands and looked at Luo Hao, "Isn't this a fourth-grade math problem?"
Luo Hao nodded and smiled: "Thank you for your hard work, senior."
The corner of Sun Yi's mouth twitched slightly, looked at the program in front of him, and the stack of fourth-grade math problems, and sighed.
For the car I fancy, I endured it!
After cheering himself up, Sun Yi was about to continue the test, but was stopped by Luo Hao.
"Wait a minute, senior, I just changed the program, and I'll give you a new installation package." Luo Hao said, then pulled out the USB flash drive from the computer, and handed it to Sun Yi.
"Okay." Sun Yi took the USB flash drive and plugged it into his computer.
Luo Hao looked at Tantaiyue and Bai Ling on the other side of the conference table: "Leader, how are you thinking about encryption?"
Tan Taiyue raised her head and stroked the ends of her hair, and said, "We have considered several plans and are discussing which one is better."
"Really?" Luo Hao suddenly recovered.
Luo Hao got up and sat down next to Tantaiyue: "Tell me."
Tan Taiyue frowned, she seemed not used to Luo Hao being so close to her, but it was difficult to say anything, after all, she was too far away to see the computer screen.
"At present, there are mainly several methods we think of, but they all have advantages and disadvantages, so it is not easy to choose." Tantaiyue pointed to the computer screen, "This is recorded after our discussion just now."
"The first method is to isolate the main files in the code, put these files, such as the core algorithm of your program, on the server, and the client only calls these methods through a fixed interface. In this way, if you want to update the core algorithm To decipher, you must break through the firewall of the server, or even the gatekeeper." Tan Taiyue introduced the first method.
"But this method also has shortcomings." Luo Hao frowned, "This requires a server, and the program cannot exist independently. But in certain usage situations, this method can also be tried."
"That's right, let's talk about the second method: encrypt the code file, such as using the registration code, serial number, etc., and then decrypt it in a specific way when it is used." Tan Taiyue first agreed with Luo Hao's words , and then went on to talk about the second method.
"But this method also has flaws, that is, the file used for decryption will not be encrypted. As long as this file is cracked, it is equivalent to getting the key, and other files will be easily cracked." Luo Hao thought for a while. , blurted out.
"It's like this." Tantaiyue looked at Luo Hao in surprise, and secretly praised in her heart: This reaction is really fast, no wonder such a program can be written.
"Next is the third method: convert the program into native code, which is also a good way to prevent the code from being decompiled." This time, after Tantaiyue said this, she looked at Luo Hao, wanting to see Let's see how Luo Hao will react.
"But this will lose the cross-platform nature of the existing programs. If the platforms are different, you need to prepare a new version of the code." Luo Hao seemed not aware of Tan Taiyue's thoughts, and opened his mouth to say.
"The rest of the code obfuscation and data obfuscation can indeed restrict other people from reading the code to a certain extent, but they also have shortcomings." Luo Hao looked at the following methods, pondered for a while, and said.
Tantaiyue didn't know what to say. Although the methods she wrote down were relatively common methods, she really didn't know any other methods.And the three of them tried it separately, and the effect should be okay.
"I'll think about it again." Luo Hao said, and went back to his computer to meditate.
I have considered these methods myself, but their flaws are equally obvious. I don't want to be troublesome, and I don't want my code to be stolen by others.So I have to come up with a better way.
"Then I can only try the method I imagined before." Luo Hao thought in his heart, and couldn't help but smile bitterly, "But this method will be a little troublesome when it is tested."
Luo Hao looked at the time and guessed that Huang Xi would be back soon.He stood up, looked at Tantaiyue and said, "Team leader, why don't you come here first? It's getting late, everyone go to eat first? I'll think about other ways to deal with the security of the program code. "
"Alright then." Tantaiyue nodded, and Bai Ling and the others didn't have any objections, after all, they didn't help at all with the current procedure.
Bai Ling stood up and said, "Let's go, Sister Tantai, let's go to dinner. As for writing programs, Luo Hao, a pervert, is enough."
"This is the most relaxed project team I have ever joined. There is no need to work overtime, and the normal working hours are basically light." Zhou Cheng spread his hands, "If you have such a project in the future, please remember to call me .”
"Yes, me too, remember to call me too." Bai Ling raised his hand and said.
"I feel that you should take advantage of this time to learn mathematics." Sun Yi suddenly said aggrievedly, "Can you help me with the test?"
"Don't study!" Tan Taiyue said, "We are not good at mathematics, how much can we learn in such a short time?"
"That's right." Bai Ling echoed, "Sun Yi, don't try to be lazy."
"Hey..." Sun Yi sighed, "Why is my life so miserable?"
The five walked out of the scientific research building, and Luo Hao suddenly asked: "I have a question. Don't you all need to take classes? I'm just a freshman, and I still have a lot of classes. If I don't go, I won't be able to get credits. If I go to a lot of things, I will be delayed gone."
"We are all graduate students at least. Haven't you considered skipping a grade before? When you become a graduate student, in addition to taking class exams, the credits will be calculated according to the research projects you have participated in. Moreover, if the scientific research projects you participate in have If the research results are met, the credit bonus is very high." Bai Ling was the first to answer.
"So it's like this..." Luo Hao was thoughtful.
"As far as you are a fourth-grade mathematician, you are already at the level of graduation in your mathematics college." Sun Yi also said.
"I'll think about it." Luo Hao nodded and said with a smile, "As for the issue of code security I just mentioned, I also have a preliminary idea. I'll try it later and tell you the result."
"I'm going, this pervert has another idea?" Bai Ling muttered.
The others also looked at Luo Hao with the expression of looking at a monster.
Jingle Bell--
Luo Hao's cell phone rang suddenly.
"That..." Sun Yi put down his hands and looked at Luo Hao, "Isn't this a fourth-grade math problem?"
Luo Hao nodded and smiled: "Thank you for your hard work, senior."
The corner of Sun Yi's mouth twitched slightly, looked at the program in front of him, and the stack of fourth-grade math problems, and sighed.
For the car I fancy, I endured it!
After cheering himself up, Sun Yi was about to continue the test, but was stopped by Luo Hao.
"Wait a minute, senior, I just changed the program, and I'll give you a new installation package." Luo Hao said, then pulled out the USB flash drive from the computer, and handed it to Sun Yi.
"Okay." Sun Yi took the USB flash drive and plugged it into his computer.
Luo Hao looked at Tantaiyue and Bai Ling on the other side of the conference table: "Leader, how are you thinking about encryption?"
Tan Taiyue raised her head and stroked the ends of her hair, and said, "We have considered several plans and are discussing which one is better."
"Really?" Luo Hao suddenly recovered.
Luo Hao got up and sat down next to Tantaiyue: "Tell me."
Tan Taiyue frowned, she seemed not used to Luo Hao being so close to her, but it was difficult to say anything, after all, she was too far away to see the computer screen.
"At present, there are mainly several methods we think of, but they all have advantages and disadvantages, so it is not easy to choose." Tantaiyue pointed to the computer screen, "This is recorded after our discussion just now."
"The first method is to isolate the main files in the code, put these files, such as the core algorithm of your program, on the server, and the client only calls these methods through a fixed interface. In this way, if you want to update the core algorithm To decipher, you must break through the firewall of the server, or even the gatekeeper." Tan Taiyue introduced the first method.
"But this method also has shortcomings." Luo Hao frowned, "This requires a server, and the program cannot exist independently. But in certain usage situations, this method can also be tried."
"That's right, let's talk about the second method: encrypt the code file, such as using the registration code, serial number, etc., and then decrypt it in a specific way when it is used." Tan Taiyue first agreed with Luo Hao's words , and then went on to talk about the second method.
"But this method also has flaws, that is, the file used for decryption will not be encrypted. As long as this file is cracked, it is equivalent to getting the key, and other files will be easily cracked." Luo Hao thought for a while. , blurted out.
"It's like this." Tantaiyue looked at Luo Hao in surprise, and secretly praised in her heart: This reaction is really fast, no wonder such a program can be written.
"Next is the third method: convert the program into native code, which is also a good way to prevent the code from being decompiled." This time, after Tantaiyue said this, she looked at Luo Hao, wanting to see Let's see how Luo Hao will react.
"But this will lose the cross-platform nature of the existing programs. If the platforms are different, you need to prepare a new version of the code." Luo Hao seemed not aware of Tan Taiyue's thoughts, and opened his mouth to say.
"The rest of the code obfuscation and data obfuscation can indeed restrict other people from reading the code to a certain extent, but they also have shortcomings." Luo Hao looked at the following methods, pondered for a while, and said.
Tantaiyue didn't know what to say. Although the methods she wrote down were relatively common methods, she really didn't know any other methods.And the three of them tried it separately, and the effect should be okay.
"I'll think about it again." Luo Hao said, and went back to his computer to meditate.
I have considered these methods myself, but their flaws are equally obvious. I don't want to be troublesome, and I don't want my code to be stolen by others.So I have to come up with a better way.
"Then I can only try the method I imagined before." Luo Hao thought in his heart, and couldn't help but smile bitterly, "But this method will be a little troublesome when it is tested."
Luo Hao looked at the time and guessed that Huang Xi would be back soon.He stood up, looked at Tantaiyue and said, "Team leader, why don't you come here first? It's getting late, everyone go to eat first? I'll think about other ways to deal with the security of the program code. "
"Alright then." Tantaiyue nodded, and Bai Ling and the others didn't have any objections, after all, they didn't help at all with the current procedure.
Bai Ling stood up and said, "Let's go, Sister Tantai, let's go to dinner. As for writing programs, Luo Hao, a pervert, is enough."
"This is the most relaxed project team I have ever joined. There is no need to work overtime, and the normal working hours are basically light." Zhou Cheng spread his hands, "If you have such a project in the future, please remember to call me .”
"Yes, me too, remember to call me too." Bai Ling raised his hand and said.
"I feel that you should take advantage of this time to learn mathematics." Sun Yi suddenly said aggrievedly, "Can you help me with the test?"
"Don't study!" Tan Taiyue said, "We are not good at mathematics, how much can we learn in such a short time?"
"That's right." Bai Ling echoed, "Sun Yi, don't try to be lazy."
"Hey..." Sun Yi sighed, "Why is my life so miserable?"
The five walked out of the scientific research building, and Luo Hao suddenly asked: "I have a question. Don't you all need to take classes? I'm just a freshman, and I still have a lot of classes. If I don't go, I won't be able to get credits. If I go to a lot of things, I will be delayed gone."
"We are all graduate students at least. Haven't you considered skipping a grade before? When you become a graduate student, in addition to taking class exams, the credits will be calculated according to the research projects you have participated in. Moreover, if the scientific research projects you participate in have If the research results are met, the credit bonus is very high." Bai Ling was the first to answer.
"So it's like this..." Luo Hao was thoughtful.
"As far as you are a fourth-grade mathematician, you are already at the level of graduation in your mathematics college." Sun Yi also said.
"I'll think about it." Luo Hao nodded and said with a smile, "As for the issue of code security I just mentioned, I also have a preliminary idea. I'll try it later and tell you the result."
"I'm going, this pervert has another idea?" Bai Ling muttered.
The others also looked at Luo Hao with the expression of looking at a monster.
Jingle Bell--
Luo Hao's cell phone rang suddenly.
You'll Also Like
-
Special Forces: Fusion of Deadshot Talent at the Start
Chapter 141 3 hours ago -
Naruto, if you dare to destroy my Uchiha, then we will fight four times
Chapter 171 12 hours ago -
I! The evil Uchiha kid
Chapter 166 12 hours ago -
Villain: We agreed to cancel the engagement, what are you regretting?
Chapter 150 12 hours ago -
Food: Who uses an electric rice cooker to make elixirs?
Chapter 188 12 hours ago -
After dying billions of times, I copied my talents and killed all races!
Chapter 105 12 hours ago -
NBA: Magic Johnson opens the season, crowned MOP
Chapter 111 12 hours ago -
The bizarre adventure that begins with One Punch Man
Chapter 155 12 hours ago -
My neighbor is Nakano Satsuki
Chapter 167 12 hours ago -
The rural rich man: It started when he was tricked by his father to return to the fishing village
Chapter 150 12 hours ago