NTRUHPS2048509 (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.pqc.math.ntru.parameters

## Class NTRUHPS2048509

- java.lang.Object
- - org.bouncycastle.pqc.math.ntru.parameters.NTRUParameterSet
  - - org.bouncycastle.pqc.math.ntru.parameters.NTRUHPSParameterSet
    - - org.bouncycastle.pqc.math.ntru.parameters.NTRUHPS2048509

-     public class NTRUHPS2048509
      extends NTRUHPSParameterSet

  NTRU-HPS parameter set with n = 509 and q = 2048.
  See Also:
    `NTRUHPSParameterSet`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NTRUHPS2048509()`

  - ### Method Summary

    - ### Methods inherited from class org.bouncycastle.pqc.math.ntru.parameters.NTRUHPSParameterSet

      `createPolynomial, sampleFgBytes, sampleRmBytes, weight`

    - ### Methods inherited from class org.bouncycastle.pqc.math.ntru.parameters.NTRUParameterSet

      `logQ, n, ntruCiphertextBytes, ntruPublicKeyBytes, ntruSecretKeyBytes, owcpaBytes, owcpaMsgBytes, owcpaPublicKeyBytes, owcpaSecretKeyBytes, packDegree, packTrinaryBytes, prfKeyBytes, q, sampleFixedTypeBytes, sampleIidBytes, seedBytes, sharedKeyBytes`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NTRUHPS2048509

          public NTRUHPS2048509()