RSA encryption can be used for many things such as keeping important messages secured. It is very difficult to break or decode messages that have been encrypted by RSA encryption if not given a public key. There are a few steps that one must go through in order to encrypt and decrypt a message.

We can look at few variables that are needed through the RSA encryption process:

\(e\) will be our public key 
\(d\) is the value used for decoding and is only given to the receiver 
\(p\) and \(q\) are the primes
\(n\) is the result of \(pq\)
\(M\) is the original message 
\(C=M^e\) (mod \(n\)) is used to encrypt messages
\(C^d\) (mod \(n\)) is used to decrypt messages