From 2204bf59be75c8281b154e9943046850557e4793 Mon Sep 17 00:00:00 2001 From: Kei Date: Tue, 19 Sep 2023 02:24:58 +0700 Subject: [PATCH] Use sha3-224 to generate anonymousVisitorId --- app/Services/VisitorService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/VisitorService.php b/app/Services/VisitorService.php index 1e7cca969..d57c9b7f2 100644 --- a/app/Services/VisitorService.php +++ b/app/Services/VisitorService.php @@ -61,7 +61,7 @@ public function anonymousVisitorId(): string 'os' => \Browser::platformFamily(), ]; - return sha1(implode($data)); + return hash('sha3-224', implode($data)); } /**