The naming convention for the classes is NTRUHPS[q][n]. e.g. NTRUHPS2048509 has n = 509 and q = 2048.
NTRUHPS2048509, NTRUHPS2048677, NTRUHPS4096821, NTRU specification document section 1.3.2
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Polynomial | createPolynomial()
Implements abstract org. |
| public int | sampleFgBytes()
Implements abstract org. |
| public int | sampleRmBytes()
Implements abstract org. |
| public int |
| NTRUHPSParameterSet | back to summary |
|---|---|
| pack-priv NTRUHPSParameterSet(int n, int logQ, int seedBytes, int prfKeyBytes, int sharedKeyBytes) | |
| createPolynomial | back to summary |
|---|---|
| public Polynomial createPolynomial() Implements abstract org. Doc from org. Creates a polynomial based on this parameter set.
| |
| sampleFgBytes | back to summary |
|---|---|
| public int sampleFgBytes() Implements abstract org.
| |
| sampleRmBytes | back to summary |
|---|---|
| public int sampleRmBytes() Implements abstract org.
| |
| weight | back to summary |
|---|---|
| public int weight() | |