diff --git a/.gitignore b/.gitignore index f08278d..133b45b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -*.pdf \ No newline at end of file +*.pdf +sheet01/a2/Hash.java +*.class \ No newline at end of file diff --git a/sheet01/a2/c-hash.txt b/sheet01/a2/c-hash.txt new file mode 100644 index 0000000..97f4f9f --- /dev/null +++ b/sheet01/a2/c-hash.txt @@ -0,0 +1 @@ +03087115 \ No newline at end of file diff --git a/sheet01/a2/c.txt b/sheet01/a2/c.txt index e69de29..3957132 100644 --- a/sheet01/a2/c.txt +++ b/sheet01/a2/c.txt @@ -0,0 +1,3 @@ +javac Hash.java (Compiles the java class) +java Hash plaintext.txt (runs the custom Hash function on the text file) + Output: 03087115 \ No newline at end of file