PHP Learning Series (1)--String processing function (3), PHP function 11, CRC32 () function computes the crc32 polynomial of a string. A 32-bit cyclic redundancy check code polynomial that generates a string parameter. This function can be used to
Note: This article reprinted http://www.manongjc.com/article/499.html
The PHP crc32 function is used to generate a string of 32-bit cyclic redundancy check code polynomial. This is typically used to check the integrity of the data being transmitted.
Php crc32 calculates the 32-bit CRC (cyclic redundancy check) and crc32crc of the string.
Note: This article reprinted http://www.manongjc.com/article/499.html
The php crc32 function is used to generate a 32-bit Cyclic Redundancy checkcode
Recently used STM32 CRC32 module, look at the official website Lib, feel very simple to use. However, you will find that the direct use will appear, and many online CRC32 Web sites or PC-side CRC32 Verification Tool calculation results
I have written such an article before, and I will try again.It is not efficient to create an index for a string field. However, you must check this field frequently to create an index? For example, if the field name is of the sys_trans_id string
Packet in the network transmission must be considered in case of data corruption, CRC32 and Adler32 are the most commonly used algorithms.Both go and Android are built into the implementation of these two algorithms, and the direct use is good.The
This is a creation in
Article, where the information may have evolved or changed. Packet in the network transmission must be considered in case of data corruption, CRC32 and Adler32 are the most commonly used algorithms.
Both go and Android are
Note: This article reprinted http://www.manongjc.com/article/499.htmlThe PHP crc32 function is used to generate a string of 32-bit cyclic redundancy check code polynomial. This is typically used to check the integrity of the data being transmitted.
Instance
Results of output CRC32 ():
Definition and usage
The CRC32 () function computes a 32-bit CRC (cyclic redundancy check) for a string.
This function can be used to verify the integrity of the data.
Tip: To ensure that you can get the correct
http://supp.iar.com/Support/?note=64424&from=note+11927BackgroundThe STM32 devices from ST Micro has a built-in hardware CRC32 calculator. (So using CRC32 in a application does not use up code space for the algorithm.)ProblemThe CRC32 algorithm used
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.