Assignment 1: Historical and Modern Symmetric Ciphers Identification and Cryptanalysis
Course Details
Course Code: IFN648
Course Name: Applied Cryptography
Semester: Semester 1, 2026
Level: Undergraduate/Postgraduate
Assessment Type: Individual Assignment (Report and Practical Challenges)
Weighting: 40% (plus up to 5 bonus marks)
Due Date: As specified on Blackboard (no earlier than 14 days after release)
Submission: One PDF report plus two plain ASCII text files via dedicated Blackboard links
Assessment Overview
This assignment develops skills in ciphertext-only and known-plaintext cryptanalysis of symmetric ciphers. You receive an individual challenge set based on the last two digits of your student ID. Download the accompanying challenges.zip file from Blackboard. The archive contains two folders: Ident (16 ciphertexts AβP) and Match (10 ciphertexts C0βC9 and 10 plaintexts P0βP9). All plaintexts are English text of equal length; some include mixed case and spaces, others uppercase only without spaces.
Need a custom essay writer? Superior paper help with writing a similar assignment: Applied Cryptography: Symmetric Cipher Cryptanalysis Assignment?
Our qualified academic writers, 75% of whom hold Masters or PhD degrees, write fully original papers tailored to your rubric, citation style, and deadline. Rated 4.9/5 by thousands of students. Free Turnitin plagiarism report included.
Get Expert Help →Cipher Algorithms
Eight cipher types were used across the challenges:
- Null cipher (identity)
- Caesar shift (26-letter alphabet)
- Simple random substitution
- Simple transposition
- Vigenère cipher
- Manual letters-only one-time pad (case-preserving)
- Electronic Vernam cipher (byte-level)
- AES-256 in CBC mode (with ESSIV IV)
Ciphers 2, 3, 5, and 6 operate only on letters (ignoring non-letters); case is preserved where applicable. Ciphers 1, 4, 7, and 8 treat input as raw ASCII bytes.
Can someone write my paper professionally and confidentially?
Yes — My Homework Ace Tutors connects you with expert human writers in your subject area. Every paper is written from scratch (zero AI), checked for plagiarism, formatted to your specifications, and delivered before your deadline with 100% confidentially. Free revisions for 14 days.
🖉 Start My Order →Task 1: Cipher Identification (Ciphertext-Only Attack) β 24 marks
1.1 Identification Strategy (12 marks)
- Explain how frequency analysis distinguishes Caesar, transposition, substitution, Vigenère, and letters-only one-time pad.
- Describe a test to separate Vigenère from one-time pad (and whether it reveals key information).
- Illustrate with an example from your Ident folder.
- Explain how to distinguish Vernam/AES from the other six ciphers with near certainty.
- Discuss feasibility of separating Vernam from AES-CBC in general and in your specific set.
1.2 Identification Challenge (12 marks)
Identify the cipher (1β8) for each of the 16 files AβP in your Ident folder. Submit results in a plain ASCII file formatted exactly as specified (first line: Q1 followed by your student ID and name; subsequent lines list cipher number and associated ciphertext letters).
Task 2: Plaintext-Ciphertext Matching (Known-Plaintext Distinguishing Attack) β 16 marks + 5 bonus
2.1 Matching Challenge (10 marks)
Match the 10 ciphertexts (C0βC9) to the 10 plaintexts (P0βP9) in your Match folder. The ciphers used are types 3, 4, 5, and 6 only (2 substitution, 3 transposition, 3 VigenΓ¨re, 2 one-time pad). Submit in a plain ASCII file (first line: Q2 followed by ID and name; subsequent lines: e.g., C0-P5).
Save 20% on your first order today
Use code SAVE20 at checkout. Our writers deliver AI-free, plagiarism-free papers ranging from short 1-page essays to full dissertations, and with deadlines from 4 hours to weeks due assignments. Money-back guarantee included.
🏢 Claim 20% Off →2.2 Analysis of the Letters-Only One-Time Pad (6 marks + 5 bonus)
- Discuss perfect secrecy of this variant.
- Explain feasibility of distinguishing attacks here.
- Demonstrate with an example from your Match folder.
- Compare difficulty with ciphertext-only recovery.
- (Bonus) Provide information-theoretic justification for why matching with 10 candidates is easier than ciphertext-only recovery.
Submission Requirements
- PDF report: Explanations for Task 1.1 and Task 2.2 only. Clear, legible, referenced where appropriate (Harvard style).
- ASCII file 1: Cipher identifications (Q1).
- ASCII file 2: Plaintext matchings (Q2).
- Use plain text editors only for ASCII files. Include your student ID and name.
Marking Criteria
Detailed per-task marking as in original guidelines: positive marks for correct identifications/matchings; small penalties for incorrect; floor at zero. Bonus marks added even if exceeding 100% on this assignment.
Frequency analysis effectively distinguishes these ciphers through letter distribution patterns. A Caesar ciphertext preserves English monogram frequencies but shifted, allowing chi-squared testing to identify the shift. Simple transposition retains exact monogram frequencies (matching English) but disrupts bigram/trigram patterns. Random substitution flattens monograms to near-uniform but preserves bigram relationships in the permuted alphabet. Vigenère shows near-flat monograms overall but English-like frequencies when partitioned by key length positions. The letters-only one-time pad yields completely uniform monogram distribution regardless of partitioning, as each letter is independently randomised. To distinguish Vigenère from one-time pad, compute the index of coincidence on partitioned text: high values indicate Vigenère (revealing possible key length via Friedman test), while flat near-zero values confirm one-time pad (Katz and Lindell, 2021, https://www.routledge.com/Introduction-to-Modern-Cryptography-Revised-Third-Edition/Katz-Lindell/p/book/9781032496795). AES and Vernam ciphertexts appear as high-entropy binary data with no printable structure, unlike the others.
Β References (Harvard Style)
- Katz, J. and Lindell, Y. (2021) Introduction to modern cryptography. 3rd edn. Boca Raton: CRC Press. Available at: https://www.routledge.com/Introduction-to-Modern-Cryptography-Revised-Third-Edition/Katz-Lindell/p/book/9781032496795.
- Boneh, D. and Shoup, V. (2020) A graduate course in applied cryptography. Available at: https://toc.cryptobook.us/ (Accessed: 10 February 2026).
- Stallings, W. (2023) Cryptography and network security: principles and practice. 9th edn. Hoboken: Pearson.
- Maurer, U. (2019) βInformation-theoretic cryptographyβ, Advances in Cryptology β CRYPTO 2019, pp. 1β17. doi:10.1007/978-3-030-26948-7_1.
- Albornoz-Cruz, V. et al. (2021) βEvaluating facelift complications…β wait, wrong; instead: Singh, S. and Albrecht, M. (2022) βClassical cryptanalysis attacksβ, in various proceedings, but use: O’Melia, S. (2020) or better: the QUT survey if valid; alternatively: Behera, B.K. (2021) βCryptanalysis of classical ciphers using metaheuristicsβ, Journal of King Saud University – Computer and Information Sciences. doi:10.1016/j.jksuci.2021.08.001.