note 116396 deleted from function.hash-algos by salathe
| From: | salathe@php.net | Date: | Fri, 02 Jan 2015 11:27:50 +0000 |
| Subject: | note 116396 deleted from function.hash-algos by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-201318@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
In response to holdoffhunger's notes about the CRC32 algorithm... yes, each implementation of
this algorithm can have varying internal polynomial values. This means the algorithm can be included
in different applications and have different polynomials to make it "its own" to ensure a
unique value with a particular given input.
Other algorithms will not give you different values depending on the application, but the CRC
algorithmic outputs can (and most likely will) vary. Therefore, you should use the CRC algorithms if
you're comparing inputs in the same environment or protocol, or at least program your own
function where the polynomials are known between different environments.
There's lots of reading material online if you wish to find out more about CRC polynomials.