add functionality to send only hash to server, not file content, because over the wire, it seems the digest gets corrupted in webservice.
added tests and integration tests on signature