Skip to content

Commit ea1ab96

Browse files
authored
Switch to xxh128
1 parent c26df8a commit ea1ab96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Views/Concerns/WithHash.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ trait WithHash
99
#[Computed]
1010
public function hash(): string
1111
{
12-
return hash('crc32c', serialize($this));
12+
return hash('xxh128', serialize($this));
1313
}
1414

1515
#[Computed]
1616
public function classHash(): string
1717
{
18-
return hash('crc32c', serialize(static::class));
18+
return hash('xxh128', serialize(static::class));
1919
}
2020
}

0 commit comments

Comments
 (0)