Skip to content

Commit ccec70b

Browse files
committedJun 18, 2024
Cache: md5 replaced with xxHash
1 parent 3b28284 commit ccec70b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Caching/Cache.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ public function start($key): ?OutputHelper
393393
*/
394394
protected function generateKey($key): string
395395
{
396-
return $this->namespace . md5(is_scalar($key) ? (string) $key : serialize($key));
396+
return $this->namespace . hash('xxh128', is_scalar($key) ? (string) $key : serialize($key));
397397
}
398398

399399

0 commit comments

Comments
 (0)
Failed to load comments.