Compute the greatest common divisor

Assignment Help Other Subject
Reference no: EM133022660

SIT281 PROBLEM-BASED LEARNING-A ON NUMBER THEORY AND CLASSICAL CRYPTOSYSTEMS

GUILLERMO PINEDA-VILLAVICENCIO

PrOBLEMS
(1) Consider the pairs (54321, 50) and (1739, 29341).
(a) Compute the greatest common divisor (gcd) of each pair using the Euclidean algorithm.
(b) For each pair (a, b) in the question, use the extended Euclidean algorithm to find integers x and y such that ax + by = gcd(a, b)
(c) Verify the answer of each gcd and each use of the extended Euclidean algo- rithm equation in sagemath. This means writing sagemath code to answer each question.

(2) Consider the following problems in modular arithmetic. Justify every step in your solution.
(a) Evaluate the modular powers 217219 (mod 344) and 310003 (mod 101).
(b) Solve each of the following modular equations for x: (i) 342x + 448 ≡ 73 (mod 1003),
(ii) 35x ≡ 1 (mod 81).
The order of operations for modular arithmetic is the same as that of ordinary arithmetic; that is, the multiplication before addition.
(c) Verify the answer of each modular power and each equation in sagemath. This means writing sagemath code to answer each question.

(3) Use the Chinese remainder theorem to solve the following systems of equations.
(a) x ≡ 34 (mod 100) and x ≡ -1 (mod 51).
(b) 3x ≡ 8 (mod 10) and 2x + 4 ≡ 9 (mod 111).
(c) Verify the answer of each system in sagemath. This means writing sagemath code to answer each system.

(4) This questions deals with affine ciphers and shift ciphers. The alphabet is consid- ered modulo 26; that is, A=0,...,Z=25.
(a) The following ciphertext has been encrypted with a shift cipher with encryp- tion key (shift) 3 or 16:
c1=IUBBOEKHSQHVEHJUDJXEKIQDTTEBBQHI.
This means that from the plaintext we use the key 3 or 16 to obtain c1. Decrypt c1. Here you need to use both keys and give the message that makes more sense.
(b) Using an affine cipher c = 11p + 17 where p is the plaintext, encrypt the plaintext:
p=(STUDENT FIRST NAME), MEET ME AT THE NATIONAL GALLERY.
For instance, in my case, the plaintext reads

(i) Give the ciphertext c for the plaintext p (5 marks).
(ii) Show manually how to decrypt the affine cipher c (6 marks). This includes computing the function p = (c - 17) ∗ 11-1 (mod 26).
(iii) With the function you constructed in (ii), decrypt the ciphertext NWVASPFWRAQVRSYJRXBE
.
(c) Verify the answer of each question in sagemath. This means writing sagemath code to decrypt c1 in Part (a), to encrypt the plaintext of Part (b)-(i), and to decrypt the ciphertext of Part (b)-(ii).

Attachment:- Problem-based-learning.rar

Reference no: EM133022660

Questions Cloud

Alkaline silica reaction by use of recycled aggregate : Topic - Alkaline silica reaction by use of recycled aggregate - perform different materials that I mention further
Analyse the national employment standards : Analyse the National Employment Standards and summarise what you think the rights and responsibilities are for
Discuss graincorps engagement : Briefly describe GrainCorp in terms of its product(s), target market(s), history, size, location, and legal structure and Discuss GrainCorp's engagement
Demonstrate an understanding of statistical analysis : Demonstrate an understanding of statistical analysis by making basic statistical inferences and interpret the results in a business context.
Compute the greatest common divisor : Compute the greatest common divisor (gcd) of each pair using the Euclidean algorithm and Evaluate the modular powers 217219 (mod 344) and 310003 (mod 101)
Calculate mean-median-standard deviation-minimum : Calculate mean, median, standard deviation, minimum, maximum, and counts (n) for all variables in the POS Associates data set that are appropriate (i.e., that a
Fictional character from television : Select and describe a leader you admire. Your selected leader may be either a real-life individual or a fictional character from television, movies, or a book.
Achieving the organisation objectives : Explain the role of an operational plan in achieving the organisation's objectives.
Describe the characteristics of the data analysis approach : Describe the characteristics of the data analysis approach

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd