Skip to content

Commit 91c8061

Browse files
committed
Cache: md5 replaced with xxHash
1 parent fcdb685 commit 91c8061

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
@@ -394,7 +394,7 @@ public function start($key): ?OutputHelper
394394
*/
395395
protected function generateKey($key): string
396396
{
397-
return $this->namespace . md5(is_scalar($key) ? (string) $key : serialize($key));
397+
return $this->namespace . hash('xxh128', is_scalar($key) ? (string) $key : serialize($key));
398398
}
399399

400400

0 commit comments

Comments
 (0)