# HG changeset patch # User Dan # Date 1229851427 18000 # Node ID 111fd7a4415c7cb535ed0bf14ed9a88a4276b152 # Parent cba10e1031eb46bbdde185cee57f8e18f9fce269 Fixed: private keys were way too long in EnanoMath diff -r cba10e1031eb -r 111fd7a4415c 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); } /**