

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions and problems for homework 9 in the ece646: cryptography and computer network-security course, focusing on cryptography concepts such as the left-shift algorithm, rsa decryption using the chinese remainder theorem, and primality testing using the miller-rabin test.
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!


ECE646 Cryptography and Computer Network-Security Fall 2006
at the beginning of class
Project track: You only have to solve the problems for all tracks. Please indicate that you are in the project track. If you have time to solve problems of the exam track you may choose either the problems for programmers or the problems for analysts. Both are of equal weight. You can obtain up to 50% of points for each problem out of one of these options. Exam track: You have to solve the problems for all tracks too and choose one of the two options, problems for programmers or problems for analysts. If you have time to solve problems belonging to the second option, you can obtain up to 50% of points for each problem from this option. Please, indicate which option was your primary choice.
(a) Decrypt the message y = 40 as x = yd^ mod n on paper using square-and-multiply algorithm. Show every single step. For multiplication and squaring you can use any method you like and it is sufficient to show just the result of the multiplication and squaring operations. (b) How many multiplications and how many squaring operations did you have to perform, how many total? (c) Recompute y using the Chinese Remainder Theorem. (d) How many multiplications, how many squarings and how many operations in total did you have to perform now?