Frontend: Hash with file upload

Hash frontend now have the possibility to choose either
file upload for hashing, or direct input.