Skip to content
CryptographyInternals

06 / 08 · Math basics

Prime numbers

Easy to multiply, very hard to split apart.

A prime can only be divided by 1 and itself. Multiplying two primes takes a computer a split second; recovering them from the product is so slow for large numbers that RSA relies on it.

Rectangles
1 rows of 1212 = 1 × 12

01 / 11 · Prime numbers

Arrange 12 dots in a rectangle

Take 12 dots and lay them out in equal rows. 1 row of 12, 2 rows of 6, 3 rows of 4: each rectangle is a way to write 12 as a product, like 12 = 3 × 4. The side lengths are the divisors of 12.