This question is based on a misunderstanding. Most cryptography is based on numbers that are products of two very large prime numbers. Being the product of two primes means that these numbers are composite - not prime!
Chat with our AI personalities
Cryptography contains codes which should not be broken further. Since prime numbers not composites cannot be broken down, thus they are used.
The basic idea in cryptography is that if you multiply two large prime numbers together, and give somebody the product, it is very hard to find the original factors.