{"action":"created","issue":{"url":"https://api.github.com/repos/dedis/cothority/issues/308","repository_url":"https://api.github.com/repos/dedis/cothority","labels_url":"https://api.github.com/repos/dedis/cothority/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/dedis/cothority/issues/308/comments","events_url":"https://api.github.com/repos/dedis/cothority/issues/308/events","html_url":"https://github.com/dedis/cothority/pull/308","id":143303271,"number":308,"title":"added hashfile-function to lib/crypto","user":{"login":"ineiti","id":1545067,"avatar_url":"https://avatars.githubusercontent.com/u/1545067?v=3","gravatar_id":"","url":"https://api.github.com/users/ineiti","html_url":"https://github.com/ineiti","followers_url":"https://api.github.com/users/ineiti/followers","following_url":"https://api.github.com/users/ineiti/following{/other_user}","gists_url":"https://api.github.com/users/ineiti/gists{/gist_id}","starred_url":"https://api.github.com/users/ineiti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ineiti/subscriptions","organizations_url":"https://api.github.com/users/ineiti/orgs","repos_url":"https://api.github.com/users/ineiti/repos","events_url":"https://api.github.com/users/ineiti/events{/privacy}","received_events_url":"https://api.github.com/users/ineiti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ineiti","id":1545067,"avatar_url":"https://avatars.githubusercontent.com/u/1545067?v=3","gravatar_id":"","url":"https://api.github.com/users/ineiti","html_url":"https://github.com/ineiti","followers_url":"https://api.github.com/users/ineiti/followers","following_url":"https://api.github.com/users/ineiti/following{/other_user}","gists_url":"https://api.github.com/users/ineiti/gists{/gist_id}","starred_url":"https://api.github.com/users/ineiti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ineiti/subscriptions","organizations_url":"https://api.github.com/users/ineiti/orgs","repos_url":"https://api.github.com/users/ineiti/repos","events_url":"https://api.github.com/users/ineiti/events{/privacy}","received_events_url":"https://api.github.com/users/ineiti/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-24T17:03:13Z","updated_at":"2016-03-26T15:35:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dedis/cothority/pulls/308","html_url":"https://github.com/dedis/cothority/pull/308","diff_url":"https://github.com/dedis/cothority/pull/308.diff","patch_url":"https://github.com/dedis/cothority/pull/308.patch"},"body":"Added a HashFile function to the `lib/crypto` that always returns 32 bytes."},"comment":{"url":"https://api.github.com/repos/dedis/cothority/issues/comments/201860933","html_url":"https://github.com/dedis/cothority/pull/308#issuecomment-201860933","issue_url":"https://api.github.com/repos/dedis/cothority/issues/308","id":201860933,"user":{"login":"nikkolasg","id":2564747,"avatar_url":"https://avatars.githubusercontent.com/u/2564747?v=3","gravatar_id":"","url":"https://api.github.com/users/nikkolasg","html_url":"https://github.com/nikkolasg","followers_url":"https://api.github.com/users/nikkolasg/followers","following_url":"https://api.github.com/users/nikkolasg/following{/other_user}","gists_url":"https://api.github.com/users/nikkolasg/gists{/gist_id}","starred_url":"https://api.github.com/users/nikkolasg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikkolasg/subscriptions","organizations_url":"https://api.github.com/users/nikkolasg/orgs","repos_url":"https://api.github.com/users/nikkolasg/repos","events_url":"https://api.github.com/users/nikkolasg/events{/privacy}","received_events_url":"https://api.github.com/users/nikkolasg/received_events","type":"User","site_admin":false},"created_at":"2016-03-26T15:35:54Z","updated_at":"2016-03-26T15:35:54Z","body":"A remark coming from Ismail's remark: we should start handling everything more as a \"stream\" rather than a simple bulk of bytes. For example here, we could redesign using a `io.Reader` as argument and reading chunk by chunk so the whole file does not have to get into memory. "}}