Replying to @⁨Endmaker@ani.social⁩

So there are prime numbers, that are only divisible by 1 and themselves. Here’s a set of all the prime numbers bellow 100:

[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]

As you start getting larger and larger numbers, primes show up less and less. The Riemann hypothesis is that there is some pattern, some formula to the distribution of prime numbers.

So if there is a pattern and you had the formula, you could predict which arbitrarily large number is going to be prime. Otherwise, you just have to find a big number and check if its divisible.

YouTubeInfinite Primes - Numberphileby Numberphile

Replying to @⁨gibmiser@lemmy.world⁩

We love using big primes for public key cryptography.

That’s some black magic math that lets you take a pair of big primes. Keep one for yourself, give the other to the world. You can then encrypt or sign things with your number, and everyone with the public prime can decrypt or verify that you signed it. And vice versa, people can encrypt things that only you can decode.

As I recall, it all relies on the fact that it’s a lot of work trying to find suitable primes for this. Knowing the pattern to how often primes occur can make it easier to break. This proof only predicts how many primes we’ll find, so it’s the basis for it.

en.wikipedia.orgDigital Signature Algorithm - Wikipedia