From 66fc12c928c51aab95b0803b1e1fb980d38c502b Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 25 Jun 2018 13:33:23 -0700 Subject: crc32 is potentially reversible --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/text.php b/include/text.php index 7d62895bd..122605443 100644 --- a/include/text.php +++ b/include/text.php @@ -679,7 +679,7 @@ function logid() { $x = session_id(); if(! $x) $x = getmypid(); - return hash('crc32',$x); + return substr(hash('whirlpool',$x),0,10); } /** -- cgit v1.2.3