{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":114032412,"defaultBranch":"master","name":"sha-2","ownerLogin":"amosnier","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-12-12T19:48:09.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/9384772?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1700250308.0","currentOid":""},"activityList":{"items":[{"before":"b27c98208e9cdb023f6938aa6c5a1e45e8f03a92","after":"b29613850d6e54e7159197ef42c7d22d012b6367","ref":"refs/heads/master","pushedAt":"2023-12-31T16:52:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"amosnier","name":"Alain Mosnier","path":"/amosnier","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9384772?s=80&v=4"},"commit":{"message":"Warning about maximum data length for simple API\n\nTheoretically, SIZE_MAX could be larger than 2^61 - 1, so the limitation\napplies there too.","shortMessageHtmlLink":"Warning about maximum data length for simple API"}},{"before":"49265c656f9b370da660531db8cc6bf0a2e110a6","after":"b27c98208e9cdb023f6938aa6c5a1e45e8f03a92","ref":"refs/heads/master","pushedAt":"2023-12-30T14:23:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"amosnier","name":"Alain Mosnier","path":"/amosnier","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9384772?s=80&v=4"},"commit":{"message":"Issue #20: removed total input length limitation\n\nRationale: the total input length limitation in SHA-256 is (2^64 - 1)\nbits. While the streaming API would in principle let client code reach\nthat limit, since it may invoke `sha_256_write` as many times as it\nwants, in practice, before this commit, the limit was `MAX_SIZE` bytes,\nwhich could be much less than the SHA-256 limit. I.e. before this\ncommit, beyond that total input length, the behavior was undefined.\n\nThis commit removes that limitation, at the cost of requiring compiler\nsupport for `uint64_t`, which should not be a problem, since this\nimplementation already required `uint32_t` support. Also, theoretically,\nthere could be a performance impact, but since this change only impacts\ntotal length calculation and encoding, this should not be noticeable.\n\nFor the sake of completion, it should be noted that the limitation\nremoved by this commit only impacted the streaming API, not the simpler\n`calc_sha_256` API, since for the latter, client code had to provide a\nsingle input data buffer, whose length, by definition of `size_t`, could\nnot be greater than `MAX_SIZE`.","shortMessageHtmlLink":"Issue #20: removed total input length limitation"}},{"before":"c64b0d8d40db8ac3a9a11f71f285d228a8b1e0ec","after":null,"ref":"refs/heads/issue_18","pushedAt":"2023-11-17T19:45:08.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"amosnier","name":"Alain Mosnier","path":"/amosnier","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9384772?s=80&v=4"}},{"before":"0be5e1601b487b2aa6869e2fe12bd30ac2ca543c","after":"49265c656f9b370da660531db8cc6bf0a2e110a6","ref":"refs/heads/master","pushedAt":"2023-11-17T18:49:48.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"amosnier","name":"Alain Mosnier","path":"/amosnier","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9384772?s=80&v=4"},"commit":{"message":"Merge pull request #19 from amosnier/issue_18\n\nIssue #18: implementation file now valid C++","shortMessageHtmlLink":"Merge pull request #19 from amosnier/issue_18"}},{"before":null,"after":"c64b0d8d40db8ac3a9a11f71f285d228a8b1e0ec","ref":"refs/heads/issue_18","pushedAt":"2023-11-17T18:48:12.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"amosnier","name":"Alain Mosnier","path":"/amosnier","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9384772?s=80&v=4"},"commit":{"message":"Issue #18: implementation file now valid C++","shortMessageHtmlLink":"Issue #18: implementation file now valid C++"}},{"before":"5e6011c6a8750110fb4607d71087ae7af90b558b","after":"0be5e1601b487b2aa6869e2fe12bd30ac2ca543c","ref":"refs/heads/master","pushedAt":"2023-05-20T01:30:30.744Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"amosnier","name":"Alain Mosnier","path":"/amosnier","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9384772?s=80&v=4"},"commit":{"message":"Merge pull request #16 from Erik-Krieger/master\n\nFixed a spelling error.","shortMessageHtmlLink":"Merge pull request #16 from Erik-Krieger/master"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAD1ROOfAA","startCursor":null,"endCursor":null}},"title":"Activity ยท amosnier/sha-2"}