Attachment: The difference between 16-bit MD5 encryption and 32-bit MD5 encryption
The md5 encryption is usually a 32-bit encoding. In fact, sometimes it only needs 16 bits. So as you can see, there is one more step to process, just take the middle 16 bits. This kind of living Python is most suitable
Two methods:
1. Random (to be precise, this is just a function that randomly generates a mixture of letters and numbers of any length)
2. md5 (this should be the result you want)
Attachment: The difference between 16-bit MD5 encryption and 32-bit MD5 encryption
Output result 'fdedaafb043d41ff06b6ef249ef53be9'
The simplest way should be:
In this way, 128 bit (16 bit) MD5 is obtained. But it’s not intuitive. I usually use hexadecimal format: