Skip to content

Commit

Permalink
Merge pull request #664 from ruudk/ruudk/2024/12/fix-bug
Browse files Browse the repository at this point in the history
Align hashing algorithm for cache key
  • Loading branch information
Spomky authored Jan 3, 2025
2 parents 4dfe6d5 + f52e34e commit cbb99fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symfony/src/Security/Storage/CacheStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function store(Item $item): void
$key = sprintf(
'%s-%s',
self::CACHE_PARAMETER,
hash('sha512', $item->getPublicKeyCredentialOptions()->challenge)
hash('xxh128', $item->getPublicKeyCredentialOptions()->challenge)
);

$cacheItem = $this->cache->getItem($key);
Expand Down

0 comments on commit cbb99fe

Please sign in to comment.