| Home Page |
| Course Page |
Encrypted Grade Files
Procedure for Decrypting Grades
Example Grade File
| mna4773 | ntp5633 | sam8277 | sch7373 |
To decrypt your grade file:
java -classpath /home/fac/ark/public_html/cscl.jar edu.rit.crypto.gradefile.View <file>replacing <file> with the name of the file where you downloaded your encrypted grade file. Enter your secret key when the program asks for it.
You can also set up your web browser so it automatically runs the encrypted grade file viewer program when you click on your grade file link. The web server sends the encrypted grade file with a special MIME type of application/x-ark-edu-rit-crypto-gradefile. Create a shell script to run the viewer, then configure your browser to run the shell script when a file is downloaded with that MIME type. Here is an example of a shell script named viewgrade:
#!/bin/bash java -classpath /home/fac/ark/public_html/cscl.jar edu.rit.crypto.gradefile.View $1 |
The encrypted grade file viewer program is part of the Computer Science Course Library. You may install the Library on your own personal computer so you can view your grades on your own system. To learn how the encrypted grade file viewer program works, you may examine the Java source code:
Class edu.rit.crypto.gradefile.View
Class edu.rit.crypto.gradefile.GradeFileContext01
You can test the above procedure using the example grade file below.
It has been encrypted with the following secret key:
c8b3 3cda 210c 3075
| Course Page |
| Home Page |