In PHP, how does the crc32 function verify data? RT. if not, does PHP have other methods to check data ?, Any hash algorithm can be used. CRC (data) generates a fingerprint and sends the data and fingerprint together to the other party. The other party obtains a fingerprint with the same CRC (data, compared with the fingerprint you sent him, do you know whether the data has been tampered with during transmission? How does the crc32 function in PHP verify data?
RT. if not, does PHP have other methods to check data?
------ Solution --------------------
Any hash algorithm can be used. CRC (data) generates a fingerprint and sends the data and fingerprint together to the other party. The other party obtains a fingerprint with the same CRC (data, compared with the fingerprint you sent him, do you know whether the data has been tampered with during transmission?
In addition, the premise of data verification is that no one knows during the data transmission process, and no one listens to and tamper with your communication link. what should I do? Of course it is SSL.
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.