{"action":"created","issue":{"url":"https://api.github.com/repos/kmaragon/Konscious.Security.Cryptography/issues/8","repository_url":"https://api.github.com/repos/kmaragon/Konscious.Security.Cryptography","labels_url":"https://api.github.com/repos/kmaragon/Konscious.Security.Cryptography/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/kmaragon/Konscious.Security.Cryptography/issues/8/comments","events_url":"https://api.github.com/repos/kmaragon/Konscious.Security.Cryptography/issues/8/events","html_url":"https://github.com/kmaragon/Konscious.Security.Cryptography/issues/8","id":194703953,"number":8,"title":"Constructor for HMACBlake2B doesn't initialize when specifying Key and Size","user":{"login":"SparkDustJoe","id":9010072,"avatar_url":"https://avatars.githubusercontent.com/u/9010072?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkDustJoe","html_url":"https://github.com/SparkDustJoe","followers_url":"https://api.github.com/users/SparkDustJoe/followers","following_url":"https://api.github.com/users/SparkDustJoe/following{/other_user}","gists_url":"https://api.github.com/users/SparkDustJoe/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkDustJoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkDustJoe/subscriptions","organizations_url":"https://api.github.com/users/SparkDustJoe/orgs","repos_url":"https://api.github.com/users/SparkDustJoe/repos","events_url":"https://api.github.com/users/SparkDustJoe/events{/privacy}","received_events_url":"https://api.github.com/users/SparkDustJoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-09T21:43:22Z","updated_at":"2017-02-22T03:54:24Z","closed_at":null,"body":"HMACBlake2B b2b = new HMACBlake2B(new byte[] { 1, 0, 0, 0, 0,0,0,0 }, X);\r\n\r\nFails if b2b.Initialize() is not called before b2b.ComputeHash().  \"Instance was not initialized. Call Initialize() first\"\r\nShouldn't that be called internally if I'm specifying the parameters?  HashSize is read only after this call, and if I specify the salt/password during the constructor, I should only have to call Initialize if the salt changes?  (this expected behavior is what .Net itself does)\r\n\r\nAlso throws \"Hash Size must be between 8 and 512\" for all values not >= 64 so long as X is byte aligned.\r\n64 produces 8 byte output array as expected, but then why specify 8 bits as a minimum if I can't use anything < 64?\r\n[LOTS OF EDITS FOR CLARITY]"},"comment":{"url":"https://api.github.com/repos/kmaragon/Konscious.Security.Cryptography/issues/comments/281561714","html_url":"https://github.com/kmaragon/Konscious.Security.Cryptography/issues/8#issuecomment-281561714","issue_url":"https://api.github.com/repos/kmaragon/Konscious.Security.Cryptography/issues/8","id":281561714,"user":{"login":"kmaragon","id":5015405,"avatar_url":"https://avatars.githubusercontent.com/u/5015405?v=3","gravatar_id":"","url":"https://api.github.com/users/kmaragon","html_url":"https://github.com/kmaragon","followers_url":"https://api.github.com/users/kmaragon/followers","following_url":"https://api.github.com/users/kmaragon/following{/other_user}","gists_url":"https://api.github.com/users/kmaragon/gists{/gist_id}","starred_url":"https://api.github.com/users/kmaragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmaragon/subscriptions","organizations_url":"https://api.github.com/users/kmaragon/orgs","repos_url":"https://api.github.com/users/kmaragon/repos","events_url":"https://api.github.com/users/kmaragon/events{/privacy}","received_events_url":"https://api.github.com/users/kmaragon/received_events","type":"User","site_admin":false},"created_at":"2017-02-22T03:54:24Z","updated_at":"2017-02-22T03:54:24Z","body":"I updated this to automatically initialize rather than throw an exception if it wasn't initialized... which obviously required updating the test that asserted that it through an exception saying that no one called Initialize()"}}
{"actor":{"display_login":"kmaragon"}}