Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSCI 352 - Digital Forensics Assignment #1 Fall 2018 Due Date: Tuesday, September 25, 2018 Total Points: 100 Question 1 (30 points) ROT13 is a

CSCI 352 - Digital Forensics Assignment #1

Fall 2018 Due Date: Tuesday, September 25, 2018

Total Points: 100 Question 1 (30 points)

ROT13 is a variation on the Caesar cipher. It is a very simple method for hiding textual information by replacing each alphabetic character with the letter thirteen places after it. For example, the letter a' becomes n. One good characteristic of this cipher is that it can be used for both hiding information and decoding it. Write a Python function for this cipher. The function should be called rot13 and takes as an argument the path of a text file. The function will read the text file, apply the cipher on its contents and write the ciphered contents to a text file called cipher.txt. Your code should make use of a dictionary data structure to solve this problem. Make sure that your program handles special cases.

Question 2 (70 points)

Write a python program (.py) that traverses a directory and calculates the digital fingerprints (MD5, SHA1, and SHA256) of all the files in the directory. The program should ask the user for the name of the directory and whether the program needs to recursively go though all the other directories inside the given directory. The program proceeds to calculate the MD5, SHA1, and SHA256 values for each file and saves the result in an Excel document. The Excel document should have the following columns: file name, MD5, SHA1, and SHA256. Each directory should have a separate sheet. Make sure that your program handles special cases. The following link has a good introduction on how to work with Excel files:

https://automatetheboringstuff.com/chapter12/

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Administration The Essential Reference

Authors: Brian Laskey, David Kreines

1st Edition

1565925165, 978-1565925168

More Books

Students also viewed these Databases questions