THis is supposed to be an easy problem, but for some reason it is giving me a ton of trouble
-------------------------
Let p be a 128-bit prime and Z_p be the set of integers {0,...,p-1}. Consider the following encryption scheme. The secret pair of integers a,b EXISTSIN Z_p where a!=0. An encryption of a message M EXISTSIN Z_p is defined as:
E_(a,b)[M] = aM + b mod p
1. Show that when E is used to encrypt a message M EXISTSIN Z_p the system has perfect secrecy in the sense of shannon
2. Show that if the system is used to encrypt a plaintext (M_1,M_2), where M_1,M_2 EXISTIN Z_p, then the system does not have perfect security.