You are expected to study the course content before and after lectures. Many students study only 1 day (or 1 hour!) before an upcoming assessment item, i.e. quiz or exam. To encourage more study through the semester, each week a set of homework tasks will be assigned. You should try to complete all tasks before the first lecture of the following week.
Selected homework tasks will be marked and require submission before a deadline. The homework items that will be marked will be clearly indicated when the homework is released. Others homework tasks will not be marked (i.e. you do not submit the homework solutions). The homework tasks will not be marked; you do not submit your homework. However even if the homework is not marked, some quiz/exam questions may be based on homework tasks. Completing the homework tasks will make it easier to follow the lectures and obtain high marks in the graded assessment items. Where relevant, answers to homework tasks will be given in class and/or on the course website.
This homework is not assessed.
This homework IS assessed. You must submit before the deadline of 10am Tuesday 13 March 2012. If you have not completed the week 7 homework (online quiz) before the deadline you will received no marks for this homework.
Complete the following tasks using OpenSSL. Submit your answers by saving files in the specified locations of your home directory on the IT server, it.siit.tu.ac.th. In the instructions below, where ID is given replace it with your actual ID. Record all the commands you use (e.g. copy and paste them to a text file), so that if you make a mistake I can later check what went wrong.
/home/students/uID/public_html/private/css322/privkey-ID.pem
/home/students/uID/public_html/pubkey-ID.pem
/home/students/uID/public_html/private/css322/message-ID.txt
/home/students/uID/public_html/sign-ID.bin
/home/students/uID/public_html/ciphertext-ID.bin
/home/students/uID/public_html/private/css322/commands-ID.txt
At the end you should have three public files available on your website (pubkey-ID.pem, sign-ID.bin and ciphertext-ID.bin) and three files in your private space of the website that only you can access (privkey-ID.pem, message-ID.txt and commands-ID.txt). When the deadline passes I will run a script that copies all files and checks them. Therefore you must carefully check the file names and locations are correct, otherwise my script will not find the file and you will not receive marks.
This homework is not assessed, but you must attempt it to receive marks for the next assessed homework.
Study for the midterm exam.
Study for the next quiz.
This homework is not assessed - you do not need to submit it.
This homework IS assessed. You must submit, by emailing your solution to me, before the deadline of 8:30am Monday 30 January 2012. Your mark will depend partially on when you submit compared to other students. The earlier the submission the more marks, but also the more students you submit before the more marks. So to get the most marks, submit early AND don't tell others the solutions!
Subject: CSS322 HW1 <your_id> Body: Name: <firstname_lastname> ID: <your_id> Key: <you_chosen_key> Ciphertext: -- <include_base64_encoded_ciphertext_here> --(Note that in real-life you would not transmit the key and ciphertext together; the key would be sent across some secure channel. But for convenience you can send it in the email with the ciphertext).
Answers: a video of me encrypting and then decrypting using OpenSSL. Also contains example of generating random numbers using /dev/urandom. Results.
This homework is not assessed - you do not need to submit it.
This homework is not assessed - you do not need to submit it.
Return to: CSS322 Home | Course List | Steven Gordon's Home | SIIT