1. How to Implement a PHP Hash Generator That is Simple Fast in Pure PHP
Updated on: 2022-09-26
Posted on: 2022-09-26
Hashing is an operation that computes a value from a string of data.
Hashing operations help check the integrity of data that may be transmitted between a source computer and a destination computer to detect data transmission failures caused by external interferences.
In environments in which security is an important aspect, developers should use cryptographic hashing algorithms to detect malicious alteration of data by people with bad intentions.
In environments where security is not essential due to the low risk of alteration of data by bad-intentioned people, developers can use non-cryptographic algorithms.
Such algorithms do not require so much CPU processing power and can run faster.
Murmurhash is a non-cryptographic algorithm.
This package provides a pure PHP implementation of the Murmurhash algorithm. Therefore it does not require that particular cryptography PHP extensions are available to use this class.
More ... Post a comment See comments (0) Trackbacks (0)
Hashing operations help check the integrity of data that may be transmitted between a source computer and a destination computer to detect data transmission failures caused by external interferences.
In environments in which security is an important aspect, developers should use cryptographic hashing algorithms to detect malicious alteration of data by people with bad intentions.
In environments where security is not essential due to the low risk of alteration of data by bad-intentioned people, developers can use non-cryptographic algorithms.
Such algorithms do not require so much CPU processing power and can run faster.
Murmurhash is a non-cryptographic algorithm.
This package provides a pure PHP implementation of the Murmurhash algorithm. Therefore it does not require that particular cryptography PHP extensions are available to use this class.
More ... Post a comment See comments (0) Trackbacks (0)