{"action":"created","issue":{"url":"https://api.github.com/repos/satazor/SparkMD5/issues/29","labels_url":"https://api.github.com/repos/satazor/SparkMD5/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/satazor/SparkMD5/issues/29/comments","events_url":"https://api.github.com/repos/satazor/SparkMD5/issues/29/events","html_url":"https://github.com/satazor/SparkMD5/issues/29","id":108102961,"number":29,"title":"Incremental MD5 needs increments of certain size","user":{"login":"asokani","id":1385293,"avatar_url":"https://avatars.githubusercontent.com/u/1385293?v=3","gravatar_id":"","url":"https://api.github.com/users/asokani","html_url":"https://github.com/asokani","followers_url":"https://api.github.com/users/asokani/followers","following_url":"https://api.github.com/users/asokani/following{/other_user}","gists_url":"https://api.github.com/users/asokani/gists{/gist_id}","starred_url":"https://api.github.com/users/asokani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asokani/subscriptions","organizations_url":"https://api.github.com/users/asokani/orgs","repos_url":"https://api.github.com/users/asokani/repos","events_url":"https://api.github.com/users/asokani/events{/privacy}","received_events_url":"https://api.github.com/users/asokani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-24T10:31:25Z","updated_at":"2015-09-24T11:47:48Z","closed_at":null,"body":"Maybe it is obvious to others, but I fell into this trap today and it took some time to find out the real reason.\r\n\r\nSee this example: https://jsfiddle.net/99Lxy7yx/1/ and choose any file over 10k in size. The computed MD5 is wrong\r\nSee this: https://jsfiddle.net/99Lxy7yx/4/ and again the same file. The MD5 is fine. Just because the chunk size is multiple of 8 (??)\r\n\r\nThis should be mentioned somewhere in the docs."},"comment":{"url":"https://api.github.com/repos/satazor/SparkMD5/issues/comments/142906244","html_url":"https://github.com/satazor/SparkMD5/issues/29#issuecomment-142906244","issue_url":"https://api.github.com/repos/satazor/SparkMD5/issues/29","id":142906244,"user":{"login":"satazor","id":1017236,"avatar_url":"https://avatars.githubusercontent.com/u/1017236?v=3","gravatar_id":"","url":"https://api.github.com/users/satazor","html_url":"https://github.com/satazor","followers_url":"https://api.github.com/users/satazor/followers","following_url":"https://api.github.com/users/satazor/following{/other_user}","gists_url":"https://api.github.com/users/satazor/gists{/gist_id}","starred_url":"https://api.github.com/users/satazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satazor/subscriptions","organizations_url":"https://api.github.com/users/satazor/orgs","repos_url":"https://api.github.com/users/satazor/repos","events_url":"https://api.github.com/users/satazor/events{/privacy}","received_events_url":"https://api.github.com/users/satazor/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T11:47:48Z","updated_at":"2015-09-24T11:47:48Z","body":"The chunk size should not matter because internally we slice and preserve the rest. It sounds like a bug or a bad usage, but cant look at it because I'm on vacations"}}