Skip to content

Commit ea335de

Browse files
committed
Cache: md5 replaced with xxHash
1 parent 8034ee0 commit ea335de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Caching/Cache.php

Lines changed: 1 addition & 1 deletion
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)