{"action":"created","issue":{"url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/585","labels_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/585/labels{/name}","comments_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/585/comments","events_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/585/events","html_url":"https://github.com/FineUploader/fine-uploader/issues/585","id":9927556,"number":585,"title":"8 - Calculate and send the hash of the file on the client to avoid uploading something that already exists","user":{"login":"valums","id":45036,"avatar_url":"https://avatars.githubusercontent.com/u/45036?v=3","gravatar_id":"","url":"https://api.github.com/users/valums","html_url":"https://github.com/valums","followers_url":"https://api.github.com/users/valums/followers","following_url":"https://api.github.com/users/valums/following{/other_user}","gists_url":"https://api.github.com/users/valums/gists{/gist_id}","starred_url":"https://api.github.com/users/valums/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valums/subscriptions","organizations_url":"https://api.github.com/users/valums/orgs","repos_url":"https://api.github.com/users/valums/repos","events_url":"https://api.github.com/users/valums/events{/privacy}","received_events_url":"https://api.github.com/users/valums/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FineUploader/fine-uploader/labels/2%20-%20Do","name":"2 - Do","color":"CCCCCC"},{"url":"https://api.github.com/repos/FineUploader/fine-uploader/labels/feature","name":"feature","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2013-01-13T22:28:55Z","updated_at":"2015-11-16T16:26:52Z","closed_at":null,"body":"Hey,\r\n\r\nIt would be really great to find a way to calculate and send the hash of the file from the client to avoid uploading something that already exists on the server.\r\n\r\nIf this is possible for large files, it could save a lot of time for some users. And it would feel amazing.\r\n\r\nI guess JS with FileReader would be too slow as of now, but it's worth checking anyway. If you see any mentions of native hashing functions included in the newest version, please let me know.\r\n\r\nCheers,\r\nAndrew\r\n\r\n<!---\r\n@huboard:{\"order\":200.97281202673912}\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/comments/157087903","html_url":"https://github.com/FineUploader/fine-uploader/issues/585#issuecomment-157087903","issue_url":"https://api.github.com/repos/FineUploader/fine-uploader/issues/585","id":157087903,"user":{"login":"rnicholus","id":593312,"avatar_url":"https://avatars.githubusercontent.com/u/593312?v=3","gravatar_id":"","url":"https://api.github.com/users/rnicholus","html_url":"https://github.com/rnicholus","followers_url":"https://api.github.com/users/rnicholus/followers","following_url":"https://api.github.com/users/rnicholus/following{/other_user}","gists_url":"https://api.github.com/users/rnicholus/gists{/gist_id}","starred_url":"https://api.github.com/users/rnicholus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnicholus/subscriptions","organizations_url":"https://api.github.com/users/rnicholus/orgs","repos_url":"https://api.github.com/users/rnicholus/repos","events_url":"https://api.github.com/users/rnicholus/events{/privacy}","received_events_url":"https://api.github.com/users/rnicholus/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T16:26:52Z","updated_at":"2015-11-16T16:26:52Z","body":"Small chunk hashing is restricted to Fine Uploader S3, and only when generating version 4 signatures. I feel that this feature needs more input from other users before I consider implementing it. Some questions I have include:\r\n\r\n- Should we hash the whole file, or only a piece, or n pieces/bytes? \r\n- What hashing algorithm should we use?\r\n\r\nThese are questions that should be answered based on user input, as I want to create a solution that is generally usable."}}