# Mathcsci 4116 cryptography assignment | Information Systems homework help

MATH/CSCI 4116 Cryptography Assignment 3 1. Find ‘(2007), ‘(2008), and ‘(b), where b is the integer obtained from the last four digits of your student number. 2. Find the smallest nonnegative integers x such that (a) 7x ? 8 (mod 5); (c) 5x ? 7 (mod 11). (b) 9x ? 6 (mod 7); 3. Using the fact that 10 ? 1 (mod 9), resp. 10 ? -1 (mod 11), prove the following divisibility rules for integers in decimal notation: (a) “Casting out nines”, i.e., an integer is divisible by 9 if and only if the sum of its digits is divisible by 9. (b) Less well-known, but just as easy: An integer is divisible by 11 if and only if the alternating sum of its digits is divisible by 11. (Example: 11 | 1353 because 3 – 5 + 3 – 1 = 0, which is divisible by 11.) 4. (a) Encipher the word cryptography with the affine cipher with m = 26 and key k = (5, 9). (b) Find the decryption function and decipher the result of (a). 5. Fix a modulus m and use the affine cipher with key k1 = (a, b) to encrypt an element x; then encrypt the result with a key k2 = (c, d). What is the resulting cipher? Given your answer, is security of the affine cipher with a given modulus m increased if one encryption is followed by a second encryption with a di?erent key? 6. Suppose we work modulo 29 instead of modulo 26 for affine ciphers. How many keys are possible? What if we work modulo 30? 7. (a) Determine the number of bit permutations of the set 0, 1n, n 2 N. (b) Determine the number of circular right shifts of 0, 1n. (c) Find a permutation of 0, 1n that is not a bit permutation. 8. Let ^ be an alphabet. Show that the set ^? together with concatenation is a monoid. Is this monoid a group? Due: Friday, January 31

## We've got everything to become your favourite writing service

### Money back guarantee

Your money is safe. Even if we fail to satisfy your expectations, you can always request a refund and get your money back.

### Confidentiality

We don’t share your private information with anyone. What happens on our website stays on our website.

### Our service is legit

We provide you with a sample paper on the topic you need, and this kind of academic assistance is perfectly legitimate.

### Get a plagiarism-free paper

We check every paper with our plagiarism-detection software, so you get a unique paper written for your particular purposes.

### We can help with urgent tasks

Need a paper tomorrow? We can write it even while you’re sleeping. Place an order now and get your paper in 8 hours.

### Pay a fair price

Our prices depend on urgency. If you want a cheap essay, place your order in advance. Our prices start from $11 per page.