Code for Lecture 6: Computer Security