Skip to content

Commit

Permalink
Use sha3-224 to generate anonymousVisitorId
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Sep 18, 2023
1 parent fb7bb21 commit 2204bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/VisitorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function anonymousVisitorId(): string
'os' => \Browser::platformFamily(),
];

return sha1(implode($data));
return hash('sha3-224', implode($data));
}

/**
Expand Down

0 comments on commit 2204bf5

Please sign in to comment.