Encryption: If it is based off prime numbers why not just have a great big list of prime numbers to break the codes?

For Christmas someone gave me the book below. I get a Mersenne Prime is a subset of all primes but still…it made me think we have a great big list of all primes. I would guess someone has the record for the biggest prime number ever found which means we have a list of all smaller primes.