Fixed: private keys were way too long in EnanoMath
authorDan
Sun, 21 Dec 2008 04:23:47 -0500
changeset 768 111fd7a4415c
parent 767 cba10e1031eb
child 769 1946d845bb25
Fixed: private keys were way too long in EnanoMath
includes/math.php
--- a/includes/math.php	Fri Dec 19 21:29:17 2008 -0500
+++ b/includes/math.php	Sun Dec 21 04:23:47 2008 -0500
@@ -65,7 +65,7 @@
   
   function random($len)
   {
-    return gmp_random($len);
+    return gmp_random($len / 8);
   }
   
   /**