Follow your curiosity

What discovery has been shared with you?

FACTREE gives you something interesting to discover every day — and something worth talking about together.

Start with one fact. Explore it, go deeper, then follow whichever branch catches your imagination.

Choose subjects for a surprise

Exploring any topic

Begin your discovery

Your next discovery is one click away.

Choose one or more subjects above, or leave Any Topic selected and let curiosity decide.

Mathematics

Quadratic Residues and Their Cryptographic Applications

Quick fact

In the Diffie-Hellman key exchange, both parties can publicly share a number that is a quadratic residue, yet only they can compute a shared secret, because finding square roots modulo a large prime is computationally hard.

Why this is interesting

You know how every positive number has a square root? What if we only allowed remainders after division by a prime? Suddenly, some numbers have square roots and others don't—and this simple difference becomes a secret code for modern cryptography.