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

  Does the media accurately portray this phenomenon

Research the literature and discuss the stereotype and myths around the notion of the mid-life crisis. How do we define this kind of "crisis"?

  How does fast-mapping aid the language explosion

What is the difference between egocentrism in a child and selfishness in an adult? How does fast-mapping aid the language explosion?

  Describe what you learned about art in general

Describe what you learned about art in general. Describe what you learned about the art criticism theory.

  Discuss interchangeable or replaceable to fill certain roles

Bureaucracy can be defined as a way in which work is organized and how people are treated whether it be interchangeable or replaceable to fill certain roles

  How do geographically dispersed teams collaborate

This week's journal articles focus on empowering leadership and effective collaboration in geographically dispersed teams, please answer the following questions

  What is a ddos and what is its structure

Research Botnets: What is a DDOS? What is its structure? What protocols and systems do attackers use to control and update botnets today

  What impact do your actions of possessing a candle have

What is the HRL policy for candles? Please cite the Resident Handbook appropriately. What impact do your actions of possessing a candle have on your roommate(s)

  What is a potential approach that could be instituted

Primary prompt response: There are some varying views on the current strategies used by the government surrounding the regulation of "illicit" substances.

  How might transferred material be traced directly to you

Imagine an abduction occurred at the last place you were. What evidence might investigators find to indicate that you were there, other than possibly being.

  Cause of human suffering

The Buddha believed that the true cause of Human suffering was false Belief that there is a permanent Self that persists trough Time.

  Assess evolving nature and impact of performance measurement

Based upon Module 5 readings, summarize and assess the evolving nature and impact of performance measurement on public service program creation.

  Evaluate the systems for managing financial resources

HNHS 114 - MANAGING FINANCIAL RESOURCES IN HEALTH AND SOCIAL CARE - Identify the information needed to manage financial resource

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