Prepare your solutions so as to obtain both PDF and XHTML + MathML outputs. No particular computer algebra system is mandated although for this assignment the use of Sage is recommended. Some Sage code that may be useful may be found in
Re-state each exercise before presenting its solution. Write each solution carefully so as to explain it to someone who does not understand how to do it.
Submit in writing:
A printout of the PDF output.
The URL in your website at www.albany.edu where your XHTML + MathML output may be found.
Note that the source for this assignment sheet is found at amcm090505.glm.
The following is a sequence of 14 point pairs for the finite field F_{1867} on the elliptic curve y^{2} = x^{3} - 7x + 10 that represents El Gamal encryption with secret key 257 relative to that curve of a sequence of 14 points on that curve which, in turn, is the point sequence associated with a text string of length 14 by the method described in section 2 of recent course notes with 10 “tries”.
Decrypt the sequence of point pairs to obtain the sequence of points.
What text string of length 14 underlies the sequence of points?
Encrypt the length 35 text string
Compute the sequence of 35 points on the curve that correspond via the method described in section 2 of the recent course notes using 10 “tries” per point.
Find the sequence of point pairs representing the El Gamal encryption of the sequence of points when the base point b and the public key c (related by the formula c = j b where j, an integer, is the secret key) are given by
b = [123, 22] c = [669, 795] |
and where the pair [q, r] for a given point p in the sequence is computed using the formulae
|
|
|
|||
|
|
|
where, for pedagogical reasons, the number k, which usually should be a random value modulo the order of b, is instead computed as
127n + 307 modulo the order of b |
with n the position of the point p in the sequence of points.