Skip to content

Commit 67a395b

Browse files
committed
Use xxh128 instead of md5
1 parent 8d04a8e commit 67a395b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Internal/AmpClientState.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private function getClient(array $options): array
128128
'proxy' => $options['proxy'],
129129
];
130130

131-
$key = md5(serialize($options));
131+
$key = hash('xxh128', serialize($options));
132132

133133
if (isset($this->clients[$key])) {
134134
return $this->clients[$key];

0 commit comments

Comments
 (0)