Class JPakePrimeOrderGroups
- Namespace
- Org.BouncyCastle.Crypto.Agreement.JPake
- Assembly
- BouncyCastle.Cryptography.dll
Standard pre-computed prime order groups for use by J-PAKE. (J-PAKE can use pre-computed prime order groups, same as DSA and Diffie-Hellman.)
This class contains some convenient constants for use as input for constructing {@link JPAKEParticipant}s. The prime order groups below are taken from Sun's JDK JavaDoc (docs/guide/security/CryptoSpec.html#AppB), and from the prime order groups published by NIST.public class JPakePrimeOrderGroups
- Inheritance
-
JPakePrimeOrderGroups
- Inherited Members
Fields
NIST_2048
From NIST. 2048-bit p, 224-bit q and 2048-bit g for 112-bit security.
public static readonly JPakePrimeOrderGroup NIST_2048
Field Value
NIST_3072
From NIST. 3072-bit p, 256-bit q and 3072-bit g for 128-bit security.
public static readonly JPakePrimeOrderGroup NIST_3072
Field Value
SUN_JCE_1024
From Sun's JDK JavaDoc (docs/guide/security/CryptoSpec.html#AppB) 1024-bit p, 160-bit q and 1024-bit g for 80-bit security.
public static readonly JPakePrimeOrderGroup SUN_JCE_1024