Author: toad
Date: 2007-02-09 23:07:48 +0000 (Fri, 09 Feb 2007)
New Revision: 11720
Modified:
trunk/freenet/src/freenet/crypt/DSAGroup.java
Log:
Q_BIT_LENGTH should be 256, not 160.
Strengthens signature crypto strength a little.
Modified: trunk/freenet/src/freenet/crypt/DSAGroup.java
===================================================================
--- trunk/freenet/src/freenet/crypt/DSAGroup.java 2007-02-09 23:06:06 UTC
(rev 11719)
+++ trunk/freenet/src/freenet/crypt/DSAGroup.java 2007-02-09 23:07:48 UTC
(rev 11720)
@@ -23,7 +23,7 @@
public class DSAGroup extends CryptoKey {
private static final long serialVersionUID = -1;
- public static final int Q_BIT_LENGTH = 160;
+ public static final int Q_BIT_LENGTH = 256;
private final BigInteger p, q, g;