{"action":"created","issue":{"url":"https://api.github.com/repos/PointyCastle/pointycastle/issues/92","repository_url":"https://api.github.com/repos/PointyCastle/pointycastle","labels_url":"https://api.github.com/repos/PointyCastle/pointycastle/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/PointyCastle/pointycastle/issues/92/comments","events_url":"https://api.github.com/repos/PointyCastle/pointycastle/issues/92/events","html_url":"https://github.com/PointyCastle/pointycastle/issues/92","id":128877282,"number":92,"title":"When the input is long enough, SHA384 often returns wrong result. for short input like 10 20 bytes, it seems to be fine","user":{"login":"stevenroose","id":853468,"avatar_url":"https://avatars.githubusercontent.com/u/853468?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenroose","html_url":"https://github.com/stevenroose","followers_url":"https://api.github.com/users/stevenroose/followers","following_url":"https://api.github.com/users/stevenroose/following{/other_user}","gists_url":"https://api.github.com/users/stevenroose/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenroose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenroose/subscriptions","organizations_url":"https://api.github.com/users/stevenroose/orgs","repos_url":"https://api.github.com/users/stevenroose/repos","events_url":"https://api.github.com/users/stevenroose/events{/privacy}","received_events_url":"https://api.github.com/users/stevenroose/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PointyCastle/pointycastle/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-26T16:54:16Z","updated_at":"2016-02-09T16:57:32Z","closed_at":null,"body":"_From @izaera on January 22, 2015 7:59_\n\nHi\r\n\r\nin the dart cipher pub package\r\nI found when the input is long enough, SHA384 often returns wrong result. for short input like 10 20 bytes, it seems to be fine.\r\n\r\nbtw, I'm testing in dartvm,\r\n\r\na test case:\r\n\r\nSHA384Digest sha = new SHA384Digest();\r\nprint(sha.process(UTF8.encode('1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012')));\r\n  \r\n// output: [162, 16, 86, 170, 176, 212, 206, 236, 153, 72, 18, 214, 163, 232, 46, 58, 183, 219, 82, 127, 35, 105, 243, 234, 247, 111, 177, 42, 221, 159, 71, 14, 57, 121, 57, 192, 150, 98, 90, 70, 103, 148, 165, 98, 120, 84, 148, 243]\r\n// and this is different from the result I get from any other framework:  8f3cbbf964af56b83b52f7182cd171fab20810103603d4213217914145388dca1cad5fe88dcdbc56cf3ff5fc7fb82ae8\r\n\r\n\r\n\n\n_Copied from original issue: izaera/cipher#92_"},"comment":{"url":"https://api.github.com/repos/PointyCastle/pointycastle/issues/comments/181955896","html_url":"https://github.com/PointyCastle/pointycastle/issues/92#issuecomment-181955896","issue_url":"https://api.github.com/repos/PointyCastle/pointycastle/issues/92","id":181955896,"user":{"login":"stevenroose","id":853468,"avatar_url":"https://avatars.githubusercontent.com/u/853468?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenroose","html_url":"https://github.com/stevenroose","followers_url":"https://api.github.com/users/stevenroose/followers","following_url":"https://api.github.com/users/stevenroose/following{/other_user}","gists_url":"https://api.github.com/users/stevenroose/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenroose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenroose/subscriptions","organizations_url":"https://api.github.com/users/stevenroose/orgs","repos_url":"https://api.github.com/users/stevenroose/repos","events_url":"https://api.github.com/users/stevenroose/events{/privacy}","received_events_url":"https://api.github.com/users/stevenroose/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T16:57:32Z","updated_at":"2016-02-09T16:57:32Z","body":"Try something like this:\nhttps://gist.github.com/stevenroose/d6dc6f35252d7f880ac7\n\nOn Tue, Feb 9, 2016 at 5:55 PM, Nathan <notifications@github.com> wrote:\n\n> Because the documentation doesn't talk about what the digest methods\n> expect, I just copied and pasted from the test scripts.\n>\n> What should I change?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/PointyCastle/pointycastle/issues/92#issuecomment-181955208>\n> .\n>\n"}}