In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what are the common encryption methods of single-chip microcomputer", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "what are the common encryption methods of single-chip microcomputer"?
Common encryption methods this section does not talk about the specific implementation of encryption algorithms, only common encryption methods.
1. Program write protection is the most common and simplest method. Nowadays, MUC basically has write protection function, but this is easy to be cracked.
two。 The method of burning down the data bus sounds good, but there is a risk of damage and can also be cracked.
3. Software encryption is some methods to prevent others from reading the program, a single method can not prevent others from copying completely, it has to cooperate with other encryption algorithms. 4. The encryption method of adding external hardware circuit looks good, but it will increase the cost.
5. Chip polishing and modification of this method to change the model can be misleading, but also increase the cost, decryption can generally be analyzed.
6. By connecting to the network through networking plus serial number encryption, generate a unique random long serial number in your MCU, and add complex special algorithms, or add your re-coded enterprise information in it, which is different in each chip, and the replicator can only copy to one serial number.
7. Encryption through MCU unique identifiers in the past many MCU did not have unique identification codes, but now many MCU have unique identification codes.
This method is better, simple and convenient, and can prevent replication very well. Read protection + unique ID encryption using read protection + unique ID encryption is the most commonly used method, and it is also recommended.
1. Unique ID
Now regular chips, each shipped with a unique identification code, this number is the only one that does not repeat, for example, STM32 uses 96 bits as the unique ID.
Like everyone's ID card number, a newborn baby will be given an ID number when he goes to the house, so as soon as each chip is produced, he will have this ID number.
two。 It goes without saying that the encryption principle read protection, which increases the difficulty of being cracked.
There are many ways to use unique ID encryption. Here is a simple method: the program reads the unique ID and saves it in a location when it leaves the factory. Later, before the program executes, it needs to read and match the unique ID before executing the program.
Of course, this method is the most basic principle, but there is also a risk of being cracked. Therefore, the stored data, and read verification of these two places need to add some further algorithms.
After doing this, even if someone else reads your program, it will not be able to execute normally.
At this point, I believe that we have a deeper understanding of "what are the common encryption methods of single-chip microcomputer?" you might as well come to the actual operation! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.