Assignment 6
What to Do
- Open this Google Doc.
- Make a copy of the Google Doc in your own Google account by choosing File → Make a Copy.
- Answer each of the questions below in the Google Doc by filling in the blanks marked TODO. Your answers, if not code, should be no more than a few sentences in length each.
Questions
-
What’s the difference between encrypting some value and hashing some value?
-
Why are websites (with good security practices) unable to email you your password when you forgot it? Why do they email you a link with which to reset it instead?
-
How is your browser able to encrypt traffic between it and, e.g., amazon.com, even if you don’t know anyone at Amazon with whom you could agree on a shared secret?
-
In what sense does emptying the trash on macOS (or recycle bin on Windows) not actually delete files?
-
Gur nafjre vf 42.
-
What’s an upside of using two-factor authentication? What, though, is a downside?
-
If a site doesn’t support HTTPS, only HTTP, should you stop using that site? Why or why not?
Debrief
- About how many MINUTES would you say you spent on this assignment? Just to set expectations for future students.
How to Submit
- Download your completed assignment as a PDF by choosing File → Download → PDF Document, and save it to your computer.
- Go to CS50 for JDs’s Gradescope page.
- Click Assignment 6.
- Click Submit PDF.
- Click Select PDF and choose your assignment file.
- Click Upload PDF.
- Click the first question in the Question Outline at left, then click the page (or pages) on which your response to that question is located. Repeat this process for the remaining questions.
- Click Submit.
You should see a message that says “Assignment 6 submitted successfully!”
If you run into any trouble with the above steps, email hls@cs50.harvard.edu!