Prime size is not security strength The table has one row for every x, so it has about as many rows as p. Each extra bit in p doubles the table. Move the slider.
rows in the tableabout 2^32 = 4,294,967,296
storage, at 8 bytes per row (x and g^x)about 34 GB
A 5-bit p, like 19, gives a table you can write on one line. A 64-bit p already needs hundreds of exabytes. Real Diffie–Hellman uses a p of 2048 bits or more.
A security strength of s bits means that the best known attack needs about 2^s operations. Prime size is not security strength: for a 2048-bit prime, the attacker does not check all 2^2048 rows. The number field sieve is faster than table lookup, but still far out of reach at these sizes. With suitable subgroup sizes, NIST estimates 112-bit security for 2048-bit primes and 128-bit security for 3072-bit primes (SP 800-57 Part 1 Rev. 5, Table 2). Nothing on this page measures them.
The last row is the reason for the next two pages. Finite-field DH faces special attacks such as the number field sieve; no comparable classical shortcut is known for well-chosen curves. At about 128-bit security, ffdhe3072 sends a 384-byte public value, ECDH on P-256 sends 65 bytes (33 compressed), and X25519 sends 32 bytes.