Hit The Order Button To Order A **Custom Paper**

>> CLICK HERE TO ORDER 100% ORIGINAL PAPERS FROM AustralianExpertWriters.com <<

18 Oct

An important usage of the elliptic curves is to factorize big integers. Comparing to the…


SOLUTION AT Australian Expert Writers

Part I: ECC
Given an elliptic curve equation y2= x3 + 25x + 17 (mod 29), answer the following questions.
(a) For the point P = (4, 6) and Q = (5, 8), work out P+Q and 2P by hand and verify that P+Q and 2P are still on the curve.
4 marks
(b) Use maple to find all the points on this curve. How many points are there in the EC-based group and then plot all the points of this curve (you need to show your maple code of how you get the points).
4 marks
(c) If the curve is defined over real numbers, i.e., y2 = x3 + 25x + 17, plot the curve with -5<x<5 and -5<y<5.
4 marks
An important usage of the elliptic curves is to factorize big integers. Comparing to the difference of squares method, the advantage of EC-based factorization is that it can be parallelized This question asks you to practice integer factorization with EC-based method.
The smallest 3-digit prime is p = 101. And you need to find another prime q as follows. Take the last three digits of your student ID, and then run the maple command “nextprime()” and set the result as q. For example, if my ID is “7654321”, then the last three digits are “321”, then q = nextprime(321)= 331. Now, set n = p*q (note that the value q must be derived from your own student ID but not copy this constant 331).
Set up two elliptic curves randomly (so they are up to your own choice) and factorize the number n=p*q you obtained above. Observe your maple result, which curve gives you the factors p, q faster?
10 marks
Part II: What is security and security in the NIST standard (HD tasks)
The importance of defining security is that, if you don’t know what security means, then you never know whether you have achieved your security goal or not in real applications. Let’s work through the strict definitions of security under different attack assumptions gradually and then see how the NIST standard applies the definitions (implicitly).
From a high-level-point of view, any private key cryptosystem (for example, AES) can be defined as a collection of three algorithms (Gen, Enc, Dec) over the message space M (the symbol  means “belong to”):
Gen (key-generation algorithm): an algorithm produces the key k;
Enc (encryption algorithm): takes key k and message mÎM as input; outputs ciphertext c (c, C is the ciphertext space);
Dec (decryption algorithm): takes key k and ciphertext c as input; outputs m or “error”.
The correctness of Enc and Dec indicates that, for all mÎM and k output by Gen, Deck(Enck(m)) = m.
First, let’s consider the case of security definition under Ciphertext-Only-Attack (in short as COA, and COA is also called eavesdropping attack). It starts with a game between the adversary A and a Challenger C. The Challenger C is in charge of , so he can do encryptions and decryptions. And all the technique details of  are known to the Adversary A but the key, A wants to learn the information about plaintext as much as he can through interaction with C. In the case of COA, the interactions can be captured by this game:
The attacker A chooses two message m0and m1 of equal length, say n bits, and sends them both to C.
The challenger C tosses a coin and determines a random bit b (say for example, “head” as “1” and “tail” as “0”). Then he set cb =Enck(mb) and sends cb to A.
The attacker tries his best to work out b and outputs another bit b’. If b’ = b, then A wins this game.
We say the cryptosystem= (Gen, Enc, Dec) is perfect indistinguishable under the COA attack if the probability that A wins the above COA-Game is ½, formally, we denote this as
Prob(ACOA(b’= b)) = ½.
Prove that the one-time-pad (OTP) is perfect secure under COA attack, i.e., the challenge ciphertext cb could come from either m0or m1 with equal probability from the best of the attacker’s knowledge. 5 marks
The definition of perfect indistinguishable is too strong to be applied in real life, and so does the OTP. So, we need to relax it to a more realistic definition and it is called computational indistinguishable in the literature. Informally, computational indistinguishable means that we allow a tiny chance (for example, 1/2128) that the attacker A can tell the cb is from m0 or m1 better than random guessing. That is, the cryptosystem= (Gen, Enc, Dec) is computational indistinguishable under the COA attack if the probability that A wins the above COA-Game is ½ + neg. Formally, we denote it as
Prob(ACOA(b’= b)) = ½ + neg.,
where neg. is a negligible probability (say for example, 1/2128). In short, we write computational indistinguishable under the COA-Game as COA-IND.
How computational indistinguishable under the COA can be achieved by modifying OTP? And why modifying it in the way you suggest can achieve COA-IND?3 marks
So far, we have “strictly” defined computational secrecy under COA attack. But in reality, we need to consider Known-Plaintext Attack (KPA), Chosen-Plaintext Attack (CPA) and Chosen-Ciphertext Attack (CCA), because the attacker can be smarter than merely reading the ciphertexts in the internet.
Considering the power of the attackers in KPA, CPA, and CCA assumptions (given in the lecture slides ofweek 1a), define the KPA-Game, CPA-Game, CCA-Game and the associated computational indistinguishable definition under these attack games.  5 marks
Note, computational indistinguishability under CPA-Game is the minimum requirement for message confidentiality in real applications. And once again, we write computational indistinguishable under KPA-Game, CPA-Game, CCA-Game as KPA-IND, CPA-IND, and CCA-IND, respectively.
Now, take a brief look at the NIST SP800-38A publication: Recommendation for Block Cipher Modes of Operation and list all the AES modes of encryption. From all these listed modes, which mode achieves COA-IND, which achieves KPA-IND, CPA-IND, and CCA-IND? 5 marks
Note: It is expected to list all the satisfied security definition for the mode of AES. For example, mode a of AES achieves COA-IND, CPA-IND, and CCA-IND (implicitly, it reflects the fact that mode a of AES fails to satisfy KPA-IND).

Order from Australian Expert Writers
Best Australian Academic Writers


READ ALSO  Explain why it is important for a nurse in this specialty