11.07.2015 Views

Cryptography - Sage

Cryptography - Sage

Cryptography - Sage

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPENDIXCSolutions to ExercisesIntroduction to <strong>Cryptography</strong>Classical <strong>Cryptography</strong>Substitution ciphersExercise 2.1 Determine the number of possible keys for the affine substitution ciphers. Isthis sufficient to have a secure cryptosystem?Transposition ciphersExercise 2.2 Show that for every π in S n , there exists an positive integer m, such thatπ m is the identity map, and such that m divides n!. The smallest such m is called the orderof π.Exercise 2.3 How many transpositions exist in S n ? Describe the elements of order 2 inS n and determine their number.Exercise 2.4 Show that every element of S n can be expressed as the composition of atmost n transpositions.Exercise 2.5 What is the order of a permutation with cycle lengths d 1 , . . . , d t ? How doesthis solve the previous exercise concerning the order of a permutation?Exercise 2.6 What is the block length m of an (r, s)-simple columnar transposition? Describethe permutation. Hint: it may be easier to describe the permutation if the index setis {0, . . . , m − 1}.103

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!