Changes

Jump to: navigation, search

DPS909/OSD600 Fall 2017 Lab 6/7

No change in size, 13:37, 11 October 2017
Step 1: Design a Library for Obtaining File Info
* file size in bytes. For example, given a path like <code>"/home/kim/mydata.txt"</code>, return <code>129</code> (e.g., the file is 129 bytes on disk)
* [https://en.wikipedia.org/wiki/SHA-1 sha1 digest] for a file at the given path. For example, given a path like <code>"/home/kim/mydata.txt"</code>, which contains the text <code>The quick brown fox jumps over the lazy dog</code>, return <code>2fd4e1c67a2d28fced849ee1bb76e7391b93eb12</code>
* [https://en.wikipedia.org/wiki/MD5 MD5 digest) ] for a file at the given path. For example, given a path like <code>"/home/kim/mydata.txt"</code>, which contains the text <code>The quick brown fox jumps over the lazy dog</code>, return <code>9e107d9d372bb6826bd81d3542a419d6</code>
==Step 2: Pick a Language==

Navigation menu