On Tuesday, 25 June 2024 at 23:29, Bruce Weirdan <[email protected]> wrote:
> Is there a reason to keep crc32?
Good question, I had a chat with Tim as I thought it was similar to the md5()/sha1() functions.
Moreover, the crc32() function returns an int, whereas the equivalent of the hash extension
returns a string, so to get the same behaviour one needs to do:
hexdec(hash('crc32b', $str));
It might still make sense to add it to the RFC, but it would need to be its own section with
its own rationale.
Best regards,
Gina P. Banyard
>