Question: why rsa use prime numbers?
Answer: The reason prime numbers are fundamental to RSA encryption is because when you multiply two together, the result is a number that can only be broken down into those primes (and itself an 1). ... It's easy enough to break 187 down into its primes because they're so small.