RSA -> easy to generate public key by two prime numbers multiplications but hard to reverse.also, hard to generate two random prime numbers. there is always limitation of computation time and memory use.
encryption used shared private key and public keys and discrete logarithm problem. easy to perform between Alice and Bob but hard for Eve to reverse because so many numbers of trial are needed to reverse.