Skip to content

Commit

Permalink
Switch to xxh128
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 authored Oct 31, 2024
1 parent c26df8a commit ea1ab96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Views/Concerns/WithHash.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ trait WithHash
#[Computed]
public function hash(): string
{
return hash('crc32c', serialize($this));
return hash('xxh128', serialize($this));
}

#[Computed]
public function classHash(): string
{
return hash('crc32c', serialize(static::class));
return hash('xxh128', serialize(static::class));
}
}

0 comments on commit ea1ab96

Please sign in to comment.