aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-06-25 13:33:23 -0700
committerzotlabs <mike@macgirvin.com>2018-06-25 13:33:23 -0700
commit66fc12c928c51aab95b0803b1e1fb980d38c502b (patch)
tree6674f265c68c4f1e34e72f23b7bc2ee2234a5504
parentf66fb8e2a866f5ad638f34385cf6c24da7419c1b (diff)
downloadvolse-hubzilla-66fc12c928c51aab95b0803b1e1fb980d38c502b.tar.gz
volse-hubzilla-66fc12c928c51aab95b0803b1e1fb980d38c502b.tar.bz2
volse-hubzilla-66fc12c928c51aab95b0803b1e1fb980d38c502b.zip
crc32 is potentially reversible
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
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);
}
/**