Implement xxHash for non-cryptographic use-cases

Created on 3 September 2022, about 2 years ago
Updated 10 July 2023, over 1 year ago

Problem/Motivation

PHP 8.1 adds support for xxHash - a very fast, collision-resistant, non-crytographic hash.

We use a lot of hashes for non-crypto purposes, and our approach flip-flops between using weak non-crypto hashes like crc32, or mis-using cryptographic hashes to be 'correct'. xxHash means we don't need to flip-flop any more.

Steps to reproduce

Proposed resolution

Remaining tasks

Open sub-issues for each hash usage we want to change, including the recently added one in #2531564: Fix leaky and brittle container serialization solution β†’ .

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Needs work

Version

10.0 ✨

Component
BaseΒ  β†’

Last updated about 4 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Open on Drupal.org β†’
    Environment: PHP 8.1 & MySQL 5.7
    last update over 1 year ago
    Not currently mergeable.
  • @catch opened merge request.
Production build 0.71.5 2024