Computers can multiply prime numbers very quickly. But to do the operation in reverse is extremely difficult.
So if I have a public key that is a factor of two very large primes, it’s very easy and quick to encrypt. But to find out what the two primes are basically impossible.
So the reason they are used, easy to encrypt, impossible to decrypt (unless you know the primes, but calculating the primes is just about impossible.)
Latest Answers