MODP group
A published set of public Diffie-Hellman numbers, a large prime and a generator, that anyone can reuse for key exchange.
In more detail
The name is short for modular exponentiation group. RFC 3526 defines the standard sets, such as the 2048-bit group 14 with generator 2; these numbers are public and safe to share, and only each side's private value must stay secret. TLS 1.3 uses the similar named groups of RFC 7919, and groups smaller than 2048 bits are considered too weak.
Examples
from modp2048 import P, G # RFC 3526 group 14: public, the same for everyoneprime: 2048 bitsRelated terms
- Diffie-Hellman — A method that lets two parties agree on a shared secret key over a public network, even while an eavesdropper sees every message they exchange.
- modulus — In modular arithmetic, the number you divide by while keeping only the remainder, so that results wrap around like hours on a clock.
- RFC — A numbered document published by the RFC Editor, many of which are the official standards for internet protocols such as HTTP.
- key length — The size of a cryptographic key in bits, which sets how many possible keys an attacker would have to try.
Taught in
- Asymmetric Cryptography: RSA, ECC & Diffie-Hellman — Cybersecurity Fundamentals, GRC & Cryptography