created different methods for different stages of diffie hellman and encrypt and decrypt. Need to insert content provider code