Hashing Functions fixed.

Hashing files now works. UI elements yet to be updated.