1. The exponential cipher uses the form of Cipher=M^e mod N. Calculate the cipher values for the following: Message=9624 N=1439 e=7
Additional information:
If we have a message of 1234, and an e value of 7 with an N value of 33, we get: Cipher=12347 mod 33 Cipher=7; The mod operator is the remainder after an integer division. Let’s select: G =4 N=7 Bob and Alice generate random numbers (x and y): X = 3 Y = 4 Bob calculates A: A=G^x mod N=4^3 mod 7=64 mod 7= 1 Alice calculates B: B=G^y mod N= 4^4 mod 7= 256 mod 7=4 They swap values and they generate the key: KeyBob=B^x mod N=4^3 mod 7=256 mod 7=1 KeyAlice=A^y mod N=1^4 mod7=1 mod7=1 This is their shared key: "1"
Ans: 1023