CS 200 - Fall 2023. 11/27/2023.


[Home]

Welcome to CS 200!

Video of the day

How secure is 256 bit security? submitted by Shubh Gupta.
I just wanted to share this video from 3Blue1Brown on the scale of SHA256. I thought it would be the perfect supplement to our upcoming unit on cryptography and earlier discussions of hash functions.

While the video doesn't go in-depth on the technical details of the algorithm, it effectively visualizes the scale of trying to brute-force SHA256. This demonstration reveals why the algorithm has become a cornerstone in various security applications and protocols.

I hereby solicit suggestions for the video of the day. Please email me your ideas with explanations. Selected entries will win 5 homework points. If your video is played at the beginning of class, you must also briefly explain something about the video and something about yourself - in person.

Logical Problem of the day

def f():
    x1 = 0
    x2 = 1
    def get_next_number():
        nonlocal x1, x2
        x3 = x1 + x2
        x1, x2 = x2, x3
        return x3
    return get_next_number
What does the above function do? See Closures.

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

Lecture 22: Crypto.

Administrivia

  • I have Office hours via zoom, meeting ID 459 434 2854. Wednesday 4-6pm.

  • ULA office hours posted on csofficehours.org. See the posting on Ed Discussions for more information.

  • Data Buddies survey.
    The annual nationwide survey of CS departments (a.k.a. “Data Buddies”) is now live: https://cerp.co1.qualtrics.com/jfe/form/SV_9vFybdrfLKUkVcq/?id=yale_cs

    This survey measures retention and persistence among CS students, including undergraduate majors, non-majors, and graduate students. It is the main tool that the department will be using to both gauge our diversity efforts, and compare against peer CS departments.

    It is run externally by the Computing Research Association, which only provides aggregate data. At no point will we have access to individual answers or identities.

    We will be using the survey results to set and prioritize future department initiatives, so this is a great chance to have your voice heard. Please fill it out!

  • Homework assignments: [Assignments]. hw7 is available. You will submit with gradescope.

    Cryptography

    Cryptography notebook

    See hw7hints.py You may need to install the module: wordsegment.

    pip install wordsegment
      

    Getting to know UNIX

    UNIX Introduction Principle 5: shell scripts.
    [Home]