Prime numbers are used for encrypting data in the transmission of private data. An example of this is the use of the RSA code to encrypt credit card transactions. Using this type of coding secures the transaction. The public key is very difficult to break down because it is a number that is a result of two large prime numbers. Only the merchant holds the private key which is made of two smaller prime numbers.
agree with this post 2-3 sentences