CS 200 - Fall 2024. 12/2/2024


[Home]

Welcome to CS 200!

Video of the Day

Crypto! Mark Stamp.

  • Chapter 2, part 1, Information Security: Principles and Practice
  • Chapter 2, part 2, Crypto Basics --- Simple Substitution
  • Chapter 2, part 3, Crypto Basics --- double transposition, one-time pad
  • Chapter 2, part 4, Crypto Basics --- VENONA, codebook cipher, Zimmerman telegram
  • Chapter 2, part 5, Crypto Basics --- crypto history, ciphers of election of 1876
  • Chapter 2, part 6, Crypto Basics --- crypto history, Claude Shannon
  • Chapter 2, part 7, Crypto Basics --- taxonomy of cryptography, taxonomy of cryptanalysis

    Logical problem of the day

    The Trolley Problem is often posed as an issue for driver-less cars. What moral dilemma was the original focus of the Trolley Problem?

  • Nicholas, a two year old boy.
  • Nora, his younger sister at age two.

    https://pollev.com/slade You may also download the app to your phone. Use the "slade" poll ID.

    Canvas Quiz of the Day (need daily password)

    Most days, there will be a simple canvas quiz related to the lecture. You need a password to activate the quiz, which I will provide in class. These quizzes will count toward your class participation grade. The quiz is available only during class.

    Click for today's quiz.

    Lecture 24: Cryptography and UNIX.

    Administrivia

  • I am available for lunch on Mondays at 1pm (not noon) at Franklin College Dining Hall.

  • I have office hours Wednesdays from 4-6 pm, on zoom, id 459 434 2854.

  • ULA office hours are found at in Ed Discussions.

  • Homework assignments: [Assignments]. hw6 and hw7 are available. For hw6, you can access the Hamlet example files:

  • hamlet.py
  • hamletf.py uses f strings

    Note that hw7 has two autograders: hw7a for questions 1-3 and hw7b for questions 4-6.

    Final Exam

    Wednesday December 18th, 9am. RTBA.

    Here is a practice final exam and practice final solutions.

    Here are the important concepts from Stamp:

    Plus concepts from hw7 including xor, base64, shell scripts.

    Shell scripts: I might ask you to write a shell script. You should know the for loop.

    The following topics were part of this course and are in scope for the final:

    If your grade on the final exam is higher than your lower midterm grade, it will replace that grade. The quality of mercy is not strained.

    Alas, we did not get to machine learning. See scikit learn aka, sklearn. Python module for machine learning. Machine learning jupyter notebook

    Cryptography

    Cryptography notebook Chapter 2.

    See hw7hints.py You may need to install the module: wordsegment. Also, Crypto.Util.strxor is MIA. Stay tuned.

    Working ciphers: arr=(aes-128-cbc aes-128-ecb des3 aria-128-ecb aria-192-ecb aes-256-ecb aes-256-cbc)

    pip install wordsegment
      

    Getting to know UNIX

    MacOS startup files for zsh

    MacOS startup files for bash

    nano is a MacOS command line text editor.

    UNIX Introduction Principle 5. shell scripts


    [Home]