{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/Antiforgery/pulls/comments/73208397","id":73208397,"diff_hunk":"@@ -28,7 +28,14 @@ public static void ConfigureOptions(AntiforgeryOptions options, DataProtectionOp\n \n         private static string ComputeCookieName(string applicationId)\n         {\n-            using (var sha256 = SHA256.Create())\n+            HashAlgorithm sha256;\n+#if NETSTANDARD1_3\n+            sha256 = SHA256.Create();\n+#else\n+            sha256 = new SHA256Cng();","path":"src/Microsoft.AspNetCore.Antiforgery/Internal/AntiforgeryOptionsSetup.cs","position":9,"original_position":9,"commit_id":"e00fd775709cfbdc86bf04497114a433983fdd04","original_commit_id":"e00fd775709cfbdc86bf04497114a433983fdd04","user":{"login":"PinpointTownes","id":6998306,"avatar_url":"https://avatars.githubusercontent.com/u/6998306?v=3","gravatar_id":"","url":"https://api.github.com/users/PinpointTownes","html_url":"https://github.com/PinpointTownes","followers_url":"https://api.github.com/users/PinpointTownes/followers","following_url":"https://api.github.com/users/PinpointTownes/following{/other_user}","gists_url":"https://api.github.com/users/PinpointTownes/gists{/gist_id}","starred_url":"https://api.github.com/users/PinpointTownes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PinpointTownes/subscriptions","organizations_url":"https://api.github.com/users/PinpointTownes/orgs","repos_url":"https://api.github.com/users/PinpointTownes/repos","events_url":"https://api.github.com/users/PinpointTownes/events{/privacy}","received_events_url":"https://api.github.com/users/PinpointTownes/received_events","type":"User","site_admin":false},"body":"After verification, it looks like the type exists on Mono. It just uses `SHA256Managed` internally.","created_at":"2016-08-02T18:17:51Z","updated_at":"2016-08-02T18:17:51Z","html_url":"https://github.com/aspnet/Antiforgery/pull/96#discussion_r73208397","pull_request_url":"https://api.github.com/repos/aspnet/Antiforgery/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/aspnet/Antiforgery/pulls/comments/73208397"},"html":{"href":"https://github.com/aspnet/Antiforgery/pull/96#discussion_r73208397"},"pull_request":{"href":"https://api.github.com/repos/aspnet/Antiforgery/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/aspnet/Antiforgery/pulls/96","id":79780136,"html_url":"https://github.com/aspnet/Antiforgery/pull/96","diff_url":"https://github.com/aspnet/Antiforgery/pull/96.diff","patch_url":"https://github.com/aspnet/Antiforgery/pull/96.patch","issue_url":"https://api.github.com/repos/aspnet/Antiforgery/issues/96","number":96,"state":"open","locked":false,"title":"Change SHA256 algorithm to work on FIPS-compliant machines.","user":{"login":"NTaylorMullen","id":2008729,"avatar_url":"https://avatars.githubusercontent.com/u/2008729?v=3","gravatar_id":"","url":"https://api.github.com/users/NTaylorMullen","html_url":"https://github.com/NTaylorMullen","followers_url":"https://api.github.com/users/NTaylorMullen/followers","following_url":"https://api.github.com/users/NTaylorMullen/following{/other_user}","gists_url":"https://api.github.com/users/NTaylorMullen/gists{/gist_id}","starred_url":"https://api.github.com/users/NTaylorMullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTaylorMullen/subscriptions","organizations_url":"https://api.github.com/users/NTaylorMullen/orgs","repos_url":"https://api.github.com/users/NTaylorMullen/repos","events_url":"https://api.github.com/users/NTaylorMullen/events{/privacy}","received_events_url":"https://api.github.com/users/NTaylorMullen/received_events","type":"User","site_admin":false},"body":"#95","created_at":"2016-08-02T17:59:33Z","updated_at":"2016-08-02T18:17:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dab2f5c51a985dd0c5013b2d65e85e880c9d3e0a","assignee":{"login":"Eilon","id":202643,"avatar_url":"https://avatars.githubusercontent.com/u/202643?v=3","gravatar_id":"","url":"https://api.github.com/users/Eilon","html_url":"https://github.com/Eilon","followers_url":"https://api.github.com/users/Eilon/followers","following_url":"https://api.github.com/users/Eilon/following{/other_user}","gists_url":"https://api.github.com/users/Eilon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eilon/subscriptions","organizations_url":"https://api.github.com/users/Eilon/orgs","repos_url":"https://api.github.com/users/Eilon/repos","events_url":"https://api.github.com/users/Eilon/events{/privacy}","received_events_url":"https://api.github.com/users/Eilon/received_events","type":"User","site_admin":false},"assignees":[{"login":"Eilon","id":202643,"avatar_url":"https://avatars.githubusercontent.com/u/202643?v=3","gravatar_id":"","url":"https://api.github.com/users/Eilon","html_url":"https://github.com/Eilon","followers_url":"https://api.github.com/users/Eilon/followers","following_url":"https://api.github.com/users/Eilon/following{/other_user}","gists_url":"https://api.github.com/users/Eilon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eilon/subscriptions","organizations_url":"https://api.github.com/users/Eilon/orgs","repos_url":"https://api.github.com/users/Eilon/repos","events_url":"https://api.github.com/users/Eilon/events{/privacy}","received_events_url":"https://api.github.com/users/Eilon/received_events","type":"User","site_admin":false},{"login":"blowdart","id":796298,"avatar_url":"https://avatars.githubusercontent.com/u/796298?v=3","gravatar_id":"","url":"https://api.github.com/users/blowdart","html_url":"https://github.com/blowdart","followers_url":"https://api.github.com/users/blowdart/followers","following_url":"https://api.github.com/users/blowdart/following{/other_user}","gists_url":"https://api.github.com/users/blowdart/gists{/gist_id}","starred_url":"https://api.github.com/users/blowdart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blowdart/subscriptions","organizations_url":"https://api.github.com/users/blowdart/orgs","repos_url":"https://api.github.com/users/blowdart/repos","events_url":"https://api.github.com/users/blowdart/events{/privacy}","received_events_url":"https://api.github.com/users/blowdart/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/Antiforgery/pulls/96/commits","review_comments_url":"https://api.github.com/repos/aspnet/Antiforgery/pulls/96/comments","review_comment_url":"https://api.github.com/repos/aspnet/Antiforgery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/Antiforgery/issues/96/comments","statuses_url":"https://api.github.com/repos/aspnet/Antiforgery/statuses/e00fd775709cfbdc86bf04497114a433983fdd04","head":{"label":"aspnet:fips.95","ref":"fips.95","sha":"e00fd775709cfbdc86bf04497114a433983fdd04","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":36972072,"name":"Antiforgery","full_name":"aspnet/Antiforgery","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/Antiforgery","description":"AntiForgery token feature for ASP.NET Core","fork":false,"url":"https://api.github.com/repos/aspnet/Antiforgery","forks_url":"https://api.github.com/repos/aspnet/Antiforgery/forks","keys_url":"https://api.github.com/repos/aspnet/Antiforgery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/Antiforgery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/Antiforgery/teams","hooks_url":"https://api.github.com/repos/aspnet/Antiforgery/hooks","issue_events_url":"https://api.github.com/repos/aspnet/Antiforgery/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/Antiforgery/events","assignees_url":"https://api.github.com/repos/aspnet/Antiforgery/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/Antiforgery/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/Antiforgery/tags","blobs_url":"https://api.github.com/repos/aspnet/Antiforgery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/Antiforgery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/Antiforgery/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/Antiforgery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/Antiforgery/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/Antiforgery/languages","stargazers_url":"https://api.github.com/repos/aspnet/Antiforgery/stargazers","contributors_url":"https://api.github.com/repos/aspnet/Antiforgery/contributors","subscribers_url":"https://api.github.com/repos/aspnet/Antiforgery/subscribers","subscription_url":"https://api.github.com/repos/aspnet/Antiforgery/subscription","commits_url":"https://api.github.com/repos/aspnet/Antiforgery/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/Antiforgery/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/Antiforgery/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/Antiforgery/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/Antiforgery/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/Antiforgery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/Antiforgery/merges","archive_url":"https://api.github.com/repos/aspnet/Antiforgery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/Antiforgery/downloads","issues_url":"https://api.github.com/repos/aspnet/Antiforgery/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/Antiforgery/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/Antiforgery/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/Antiforgery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/Antiforgery/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/Antiforgery/releases{/id}","deployments_url":"https://api.github.com/repos/aspnet/Antiforgery/deployments","created_at":"2015-06-06T07:48:28Z","updated_at":"2016-07-27T18:48:13Z","pushed_at":"2016-08-02T18:01:55Z","git_url":"git://github.com/aspnet/Antiforgery.git","ssh_url":"git@github.com:aspnet/Antiforgery.git","clone_url":"https://github.com/aspnet/Antiforgery.git","svn_url":"https://github.com/aspnet/Antiforgery","homepage":"","size":545,"stargazers_count":27,"watchers_count":27,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":7,"forks":14,"open_issues":7,"watchers":27,"default_branch":"dev"}},"base":{"label":"aspnet:dev","ref":"dev","sha":"e9f26ec4b69d7419dc65dd70bfcb0cf6e9880ddb","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":36972072,"name":"Antiforgery","full_name":"aspnet/Antiforgery","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/Antiforgery","description":"AntiForgery token feature for ASP.NET Core","fork":false,"url":"https://api.github.com/repos/aspnet/Antiforgery","forks_url":"https://api.github.com/repos/aspnet/Antiforgery/forks","keys_url":"https://api.github.com/repos/aspnet/Antiforgery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/Antiforgery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/Antiforgery/teams","hooks_url":"https://api.github.com/repos/aspnet/Antiforgery/hooks","issue_events_url":"https://api.github.com/repos/aspnet/Antiforgery/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/Antiforgery/events","assignees_url":"https://api.github.com/repos/aspnet/Antiforgery/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/Antiforgery/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/Antiforgery/tags","blobs_url":"https://api.github.com/repos/aspnet/Antiforgery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/Antiforgery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/Antiforgery/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/Antiforgery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/Antiforgery/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/Antiforgery/languages","stargazers_url":"https://api.github.com/repos/aspnet/Antiforgery/stargazers","contributors_url":"https://api.github.com/repos/aspnet/Antiforgery/contributors","subscribers_url":"https://api.github.com/repos/aspnet/Antiforgery/subscribers","subscription_url":"https://api.github.com/repos/aspnet/Antiforgery/subscription","commits_url":"https://api.github.com/repos/aspnet/Antiforgery/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/Antiforgery/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/Antiforgery/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/Antiforgery/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/Antiforgery/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/Antiforgery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/Antiforgery/merges","archive_url":"https://api.github.com/repos/aspnet/Antiforgery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/Antiforgery/downloads","issues_url":"https://api.github.com/repos/aspnet/Antiforgery/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/Antiforgery/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/Antiforgery/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/Antiforgery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/Antiforgery/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/Antiforgery/releases{/id}","deployments_url":"https://api.github.com/repos/aspnet/Antiforgery/deployments","created_at":"2015-06-06T07:48:28Z","updated_at":"2016-07-27T18:48:13Z","pushed_at":"2016-08-02T18:01:55Z","git_url":"git://github.com/aspnet/Antiforgery.git","ssh_url":"git@github.com:aspnet/Antiforgery.git","clone_url":"https://github.com/aspnet/Antiforgery.git","svn_url":"https://github.com/aspnet/Antiforgery","homepage":"","size":545,"stargazers_count":27,"watchers_count":27,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":7,"forks":14,"open_issues":7,"watchers":27,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/Antiforgery/pulls/96"},"html":{"href":"https://github.com/aspnet/Antiforgery/pull/96"},"issue":{"href":"https://api.github.com/repos/aspnet/Antiforgery/issues/96"},"comments":{"href":"https://api.github.com/repos/aspnet/Antiforgery/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/Antiforgery/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/Antiforgery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/Antiforgery/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/Antiforgery/statuses/e00fd775709cfbdc86bf04497114a433983fdd04"}}}}
{"actor":{"display_login":"PinpointTownes"}}