| Modifier and Type | Field and Description |
|---|---|
| public static final NTRUSigningKeyGenerationParameters | APR2011_439
Gives 128 bits of security |
| public static final NTRUSigningKeyGenerationParameters | APR2011_439_PROD
Like |
| public static final NTRUSigningKeyGenerationParameters | APR2011_743
Gives 256 bits of security |
| public static final NTRUSigningKeyGenerationParameters | APR2011_743_PROD
Like |
| public int | |
| public static final int | |
| public static final int | |
| public int | |
| pack-priv double | |
| public double | |
| pack-priv int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public Digest | |
| public static final int | |
| public static final int | |
| public int | |
| pack-priv double | |
| public double | |
| public int | |
| pack-priv double | |
| public double | |
| public int | |
| public boolean | |
| public int | |
| public int | |
| public boolean | |
| public static final NTRUSigningKeyGenerationParameters | TEST157
Generates key pairs quickly. |
| public static final NTRUSigningKeyGenerationParameters | TEST157_PROD
Generates key pairs quickly. |
| Access | Constructor and Description |
|---|---|
| public | NTRUSigningKeyGenerationParameters(int
number of polynomial coefficients N, int modulus q, int number of -1's in the private polynomials d, int f and gnumber of perturbations B, int whether to use the standard or transpose lattice basisType, double balancing factor for the transpose lattice beta, double maximum norm for valid signatures normBound, double maximum norm for the ploynomials keyNormBound, boolean F and Gwhether primeCheck, boolean 2N+1 is primewhether to treat ternary polynomials as sparsely populated ( sparse, int org. vs org.)RESULTANT produces better bases, FLOAT is slightly faster. RESULTANT follows the EESS standard while FLOAT is described in Hoffstein et al: An Introduction to Mathematical Cryptography.a valid identifier for a hashAlg)java.security.MessageDigest instance such as SHA-256. The MessageDigest must support the getDigestLength() method.Constructs a parameter set that uses ternary private keys (i.e. |
| public | NTRUSigningKeyGenerationParameters(int
number of polynomial coefficients N, int modulus q, int number of -1's in the private polynomials d1, int f and gnumber of -1's in the private polynomials d2, int f and gnumber of -1's in the private polynomials d3, int f and gnumber of perturbations B, int whether to use the standard or transpose lattice basisType, double balancing factor for the transpose lattice beta, double maximum norm for valid signatures normBound, double maximum norm for the ploynomials keyNormBound, boolean F and Gwhether primeCheck, boolean 2N+1 is primewhether to treat ternary polynomials as sparsely populated ( sparse, int org. vs org.)RESULTANT produces better bases, FLOAT is slightly faster. RESULTANT follows the EESS standard while FLOAT is described in Hoffstein et al: An Introduction to Mathematical Cryptography.a valid identifier for a hashAlg)java.security.MessageDigest instance such as SHA-256. The MessageDigest must support the getDigestLength() method.Constructs a parameter set that uses product-form private keys (i.e. |
| public | NTRUSigningKeyGenerationParameters(InputStream
an input stream is)Reads a parameter set from an input stream. |
| Modifier and Type | Method and Description |
|---|---|
| public NTRUSigningKeyGenerationParameters | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public NTRUSigningParameters | |
| public int | |
| private void | |
| public String | |
| public void |
| APR2011_439 | back to summary |
|---|---|
| public static final NTRUSigningKeyGenerationParameters APR2011_439 Gives 128 bits of security | |
| APR2011_439_PROD | back to summary |
|---|---|
| public static final NTRUSigningKeyGenerationParameters APR2011_439_PROD Like | |
| APR2011_743 | back to summary |
|---|---|
| public static final NTRUSigningKeyGenerationParameters APR2011_743 Gives 256 bits of security | |
| APR2011_743_PROD | back to summary |
|---|---|
| public static final NTRUSigningKeyGenerationParameters APR2011_743_PROD Like | |
| B | back to summary |
|---|---|
| public int B | |
| BASIS_TYPE_STANDARD | back to summary |
|---|---|
| public static final int BASIS_TYPE_STANDARD | |
| BASIS_TYPE_TRANSPOSE | back to summary |
|---|---|
| public static final int BASIS_TYPE_TRANSPOSE | |
| basisType | back to summary |
|---|---|
| public int basisType | |
| beta | back to summary |
|---|---|
| pack-priv double beta | |
| betaSq | back to summary |
|---|---|
| public double betaSq | |
| bitsF | back to summary |
|---|---|
| pack-priv int bitsF | |
| d | back to summary |
|---|---|
| public int d | |
| d1 | back to summary |
|---|---|
| public int d1 | |
| d2 | back to summary |
|---|---|
| public int d2 | |
| d3 | back to summary |
|---|---|
| public int d3 | |
| hashAlg | back to summary |
|---|---|
| public Digest hashAlg | |
| KEY_GEN_ALG_FLOAT | back to summary |
|---|---|
| public static final int KEY_GEN_ALG_FLOAT | |
| KEY_GEN_ALG_RESULTANT | back to summary |
|---|---|
| public static final int KEY_GEN_ALG_RESULTANT | |
| keyGenAlg | back to summary |
|---|---|
| public int keyGenAlg | |
| keyNormBound | back to summary |
|---|---|
| pack-priv double keyNormBound | |
| keyNormBoundSq | back to summary |
|---|---|
| public double keyNormBoundSq | |
| N | back to summary |
|---|---|
| public int N | |
| normBound | back to summary |
|---|---|
| pack-priv double normBound | |
| normBoundSq | back to summary |
|---|---|
| public double normBoundSq | |
| polyType | back to summary |
|---|---|
| public int polyType | |
| primeCheck | back to summary |
|---|---|
| public boolean primeCheck | |
| q | back to summary |
|---|---|
| public int q | |
| signFailTolerance | back to summary |
|---|---|
| public int signFailTolerance | |
| sparse | back to summary |
|---|---|
| public boolean sparse | |
| TEST157 | back to summary |
|---|---|
| public static final NTRUSigningKeyGenerationParameters TEST157 Generates key pairs quickly. Use for testing only. | |
| TEST157_PROD | back to summary |
|---|---|
| public static final NTRUSigningKeyGenerationParameters TEST157_PROD Generates key pairs quickly. Use for testing only. | |
| NTRUSigningKeyGenerationParameters | back to summary |
|---|---|
| public NTRUSigningKeyGenerationParameters(int N, int q, int d, int B, int basisType, double beta, double normBound, double keyNormBound, boolean primeCheck, boolean sparse, int keyGenAlg, Digest hashAlg) Constructs a parameter set that uses ternary private keys (i.e.
| |
| NTRUSigningKeyGenerationParameters | back to summary |
|---|---|
| public NTRUSigningKeyGenerationParameters(int N, int q, int d1, int d2, int d3, int B, int basisType, double beta, double normBound, double keyNormBound, boolean primeCheck, boolean sparse, int keyGenAlg, Digest hashAlg) Constructs a parameter set that uses product-form private keys (i.e.
| |
| NTRUSigningKeyGenerationParameters | back to summary |
|---|---|
| public NTRUSigningKeyGenerationParameters(InputStream is) throws IOException Reads a parameter set from an input stream.
| |
| clone | back to summary |
|---|---|
| public NTRUSigningKeyGenerationParameters clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getSigningParameters | back to summary |
|---|---|
| public NTRUSigningParameters getSigningParameters() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| init | back to summary |
|---|---|
| private void init() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(OutputStream os) throws IOException Writes the parameter set to an output stream
| |