Skip to content

Commit 68d47bf

Browse files
changed hashing to use md5 instead of crc for collision issues
1 parent 1ee6436 commit 68d47bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Adapter/Postgres.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2770,7 +2770,7 @@ protected function getIndexKey(string $key): string
27702770
$suffix = substr($key, $separatorPosition + 1);
27712771
}
27722772

2773-
$hash = hash('crc32b', $key);
2773+
$hash = md5($key);
27742774

27752775
if ($suffix !== '') {
27762776
$hashedKey = "{$hash}_{$suffix}";

0 commit comments

Comments
 (0)