I am trying to understand RSA encryption but the algorithm seems quite complex.
I know that with asymmetric encryption you use a key and a function to encrypt data and a different function to decrypt it.
I understand the xor-ing used in most basic symmetric algorithms (functions). The same key (a series of bits of the same length as the plain data is used to encrypt and decrypt). This is possible because the xor function is symmetric (from what I know).
What are some examples of asymmetric functions? What is the function that you use to encrypt and what is the function you use to decrypt and how do you compute the second argument of the function (the first one being the data you are trying to encrypt/decrypt)?