fixed exposure of constructor.
public class FalconParameters
implements CipherParameters
{
-
public static final FalconParameters falcon_512 = new FalconParameters("falcon-512", 9, 40);
public static final FalconParameters falcon_1024 = new FalconParameters("falcon-1024", 10, 40);
private final int logn;
private final int nonce_length;
- public FalconParameters(String name, int logn, int nonce_length)
+ private FalconParameters(String name, int logn, int nonce_length)
{
assert logn > 0 && logn <= 10 : "Log N degree should be between 1 and 10";
this.name = name;
@@ -26,7 +25,7 @@ public int getLogN()
return logn;
}
- public int getNonceLength()
+ int getNonceLength()
{
return nonce_length;
}
