{"action":"opened","number":470,"pull_request":{"url":"https://api.github.com/repos/bosnet/sebak/pulls/470","id":219285342,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5Mjg1MzQy","html_url":"https://github.com/bosnet/sebak/pull/470","diff_url":"https://github.com/bosnet/sebak/pull/470.diff","patch_url":"https://github.com/bosnet/sebak/pull/470.patch","issue_url":"https://api.github.com/repos/bosnet/sebak/issues/470","number":470,"state":"open","locked":false,"title":"Change hash algorithm from argon2 to doubl sha256","user":{"login":"outsideris","id":390146,"node_id":"MDQ6VXNlcjM5MDE0Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/390146?v=4","gravatar_id":"","url":"https://api.github.com/users/outsideris","html_url":"https://github.com/outsideris","followers_url":"https://api.github.com/users/outsideris/followers","following_url":"https://api.github.com/users/outsideris/following{/other_user}","gists_url":"https://api.github.com/users/outsideris/gists{/gist_id}","starred_url":"https://api.github.com/users/outsideris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outsideris/subscriptions","organizations_url":"https://api.github.com/users/outsideris/orgs","repos_url":"https://api.github.com/users/outsideris/repos","events_url":"https://api.github.com/users/outsideris/events{/privacy}","received_events_url":"https://api.github.com/users/outsideris/received_events","type":"User","site_admin":false},"body":"### Github Issue\r\nReplace #431 \r\n\r\n### Background\r\nArgon2 use too many CPU resources. As @zzim2x 's testing, it took about 5 secs for hashing in browser side. \r\n\r\n### Solution\r\nUse double sha256 hash like bitcoin.\r\n\r\nargon 2 benchmark:\r\n```\r\n2000000000           0.03 ns/op\r\nPASS\r\n```\r\n\r\ndouble sha256 banchmakr:\r\n```\r\n2000000000           0.00 ns/op\r\nPASS\r\n```","created_at":"2018-10-01T07:45:17Z","updated_at":"2018-10-01T07:45:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bosnet/sebak/pulls/470/commits","review_comments_url":"https://api.github.com/repos/bosnet/sebak/pulls/470/comments","review_comment_url":"https://api.github.com/repos/bosnet/sebak/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bosnet/sebak/issues/470/comments","statuses_url":"https://api.github.com/repos/bosnet/sebak/statuses/c741bafc35c467783c2c5e62b1b84af18cf08462","head":{"label":"outsideris:argon2-sha256-hash","ref":"argon2-sha256-hash","sha":"c741bafc35c467783c2c5e62b1b84af18cf08462","user":{"login":"outsideris","id":390146,"node_id":"MDQ6VXNlcjM5MDE0Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/390146?v=4","gravatar_id":"","url":"https://api.github.com/users/outsideris","html_url":"https://github.com/outsideris","followers_url":"https://api.github.com/users/outsideris/followers","following_url":"https://api.github.com/users/outsideris/following{/other_user}","gists_url":"https://api.github.com/users/outsideris/gists{/gist_id}","starred_url":"https://api.github.com/users/outsideris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outsideris/subscriptions","organizations_url":"https://api.github.com/users/outsideris/orgs","repos_url":"https://api.github.com/users/outsideris/repos","events_url":"https://api.github.com/users/outsideris/events{/privacy}","received_events_url":"https://api.github.com/users/outsideris/received_events","type":"User","site_admin":false},"repo":{"id":137318016,"node_id":"MDEwOlJlcG9zaXRvcnkxMzczMTgwMTY=","name":"sebak","full_name":"outsideris/sebak","private":false,"owner":{"login":"outsideris","id":390146,"node_id":"MDQ6VXNlcjM5MDE0Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/390146?v=4","gravatar_id":"","url":"https://api.github.com/users/outsideris","html_url":"https://github.com/outsideris","followers_url":"https://api.github.com/users/outsideris/followers","following_url":"https://api.github.com/users/outsideris/following{/other_user}","gists_url":"https://api.github.com/users/outsideris/gists{/gist_id}","starred_url":"https://api.github.com/users/outsideris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outsideris/subscriptions","organizations_url":"https://api.github.com/users/outsideris/orgs","repos_url":"https://api.github.com/users/outsideris/repos","events_url":"https://api.github.com/users/outsideris/events{/privacy}","received_events_url":"https://api.github.com/users/outsideris/received_events","type":"User","site_admin":false},"html_url":"https://github.com/outsideris/sebak","description":"SEBAK, the next BOScoin Tokennet with ISAAC consensus protocol","fork":true,"url":"https://api.github.com/repos/outsideris/sebak","forks_url":"https://api.github.com/repos/outsideris/sebak/forks","keys_url":"https://api.github.com/repos/outsideris/sebak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/outsideris/sebak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/outsideris/sebak/teams","hooks_url":"https://api.github.com/repos/outsideris/sebak/hooks","issue_events_url":"https://api.github.com/repos/outsideris/sebak/issues/events{/number}","events_url":"https://api.github.com/repos/outsideris/sebak/events","assignees_url":"https://api.github.com/repos/outsideris/sebak/assignees{/user}","branches_url":"https://api.github.com/repos/outsideris/sebak/branches{/branch}","tags_url":"https://api.github.com/repos/outsideris/sebak/tags","blobs_url":"https://api.github.com/repos/outsideris/sebak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/outsideris/sebak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/outsideris/sebak/git/refs{/sha}","trees_url":"https://api.github.com/repos/outsideris/sebak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/outsideris/sebak/statuses/{sha}","languages_url":"https://api.github.com/repos/outsideris/sebak/languages","stargazers_url":"https://api.github.com/repos/outsideris/sebak/stargazers","contributors_url":"https://api.github.com/repos/outsideris/sebak/contributors","subscribers_url":"https://api.github.com/repos/outsideris/sebak/subscribers","subscription_url":"https://api.github.com/repos/outsideris/sebak/subscription","commits_url":"https://api.github.com/repos/outsideris/sebak/commits{/sha}","git_commits_url":"https://api.github.com/repos/outsideris/sebak/git/commits{/sha}","comments_url":"https://api.github.com/repos/outsideris/sebak/comments{/number}","issue_comment_url":"https://api.github.com/repos/outsideris/sebak/issues/comments{/number}","contents_url":"https://api.github.com/repos/outsideris/sebak/contents/{+path}","compare_url":"https://api.github.com/repos/outsideris/sebak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/outsideris/sebak/merges","archive_url":"https://api.github.com/repos/outsideris/sebak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/outsideris/sebak/downloads","issues_url":"https://api.github.com/repos/outsideris/sebak/issues{/number}","pulls_url":"https://api.github.com/repos/outsideris/sebak/pulls{/number}","milestones_url":"https://api.github.com/repos/outsideris/sebak/milestones{/number}","notifications_url":"https://api.github.com/repos/outsideris/sebak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/outsideris/sebak/labels{/name}","releases_url":"https://api.github.com/repos/outsideris/sebak/releases{/id}","deployments_url":"https://api.github.com/repos/outsideris/sebak/deployments","created_at":"2018-06-14T06:49:22Z","updated_at":"2018-06-14T06:49:24Z","pushed_at":"2018-10-01T07:42:02Z","git_url":"git://github.com/outsideris/sebak.git","ssh_url":"git@github.com:outsideris/sebak.git","clone_url":"https://github.com/outsideris/sebak.git","svn_url":"https://github.com/outsideris/sebak","homepage":"https://boscoin.io","size":1079,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bosnet:master","ref":"master","sha":"cd212d15c70386c369394e13d2ce7c309cb362e8","user":{"login":"bosnet","id":37893578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3ODkzNTc4","avatar_url":"https://avatars1.githubusercontent.com/u/37893578?v=4","gravatar_id":"","url":"https://api.github.com/users/bosnet","html_url":"https://github.com/bosnet","followers_url":"https://api.github.com/users/bosnet/followers","following_url":"https://api.github.com/users/bosnet/following{/other_user}","gists_url":"https://api.github.com/users/bosnet/gists{/gist_id}","starred_url":"https://api.github.com/users/bosnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bosnet/subscriptions","organizations_url":"https://api.github.com/users/bosnet/orgs","repos_url":"https://api.github.com/users/bosnet/repos","events_url":"https://api.github.com/users/bosnet/events{/privacy}","received_events_url":"https://api.github.com/users/bosnet/received_events","type":"Organization","site_admin":false},"repo":{"id":129848943,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk4NDg5NDM=","name":"sebak","full_name":"bosnet/sebak","private":false,"owner":{"login":"bosnet","id":37893578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3ODkzNTc4","avatar_url":"https://avatars1.githubusercontent.com/u/37893578?v=4","gravatar_id":"","url":"https://api.github.com/users/bosnet","html_url":"https://github.com/bosnet","followers_url":"https://api.github.com/users/bosnet/followers","following_url":"https://api.github.com/users/bosnet/following{/other_user}","gists_url":"https://api.github.com/users/bosnet/gists{/gist_id}","starred_url":"https://api.github.com/users/bosnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bosnet/subscriptions","organizations_url":"https://api.github.com/users/bosnet/orgs","repos_url":"https://api.github.com/users/bosnet/repos","events_url":"https://api.github.com/users/bosnet/events{/privacy}","received_events_url":"https://api.github.com/users/bosnet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bosnet/sebak","description":"SEBAK, the next BOScoin Tokennet with ISAAC consensus protocol","fork":false,"url":"https://api.github.com/repos/bosnet/sebak","forks_url":"https://api.github.com/repos/bosnet/sebak/forks","keys_url":"https://api.github.com/repos/bosnet/sebak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bosnet/sebak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bosnet/sebak/teams","hooks_url":"https://api.github.com/repos/bosnet/sebak/hooks","issue_events_url":"https://api.github.com/repos/bosnet/sebak/issues/events{/number}","events_url":"https://api.github.com/repos/bosnet/sebak/events","assignees_url":"https://api.github.com/repos/bosnet/sebak/assignees{/user}","branches_url":"https://api.github.com/repos/bosnet/sebak/branches{/branch}","tags_url":"https://api.github.com/repos/bosnet/sebak/tags","blobs_url":"https://api.github.com/repos/bosnet/sebak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bosnet/sebak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bosnet/sebak/git/refs{/sha}","trees_url":"https://api.github.com/repos/bosnet/sebak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bosnet/sebak/statuses/{sha}","languages_url":"https://api.github.com/repos/bosnet/sebak/languages","stargazers_url":"https://api.github.com/repos/bosnet/sebak/stargazers","contributors_url":"https://api.github.com/repos/bosnet/sebak/contributors","subscribers_url":"https://api.github.com/repos/bosnet/sebak/subscribers","subscription_url":"https://api.github.com/repos/bosnet/sebak/subscription","commits_url":"https://api.github.com/repos/bosnet/sebak/commits{/sha}","git_commits_url":"https://api.github.com/repos/bosnet/sebak/git/commits{/sha}","comments_url":"https://api.github.com/repos/bosnet/sebak/comments{/number}","issue_comment_url":"https://api.github.com/repos/bosnet/sebak/issues/comments{/number}","contents_url":"https://api.github.com/repos/bosnet/sebak/contents/{+path}","compare_url":"https://api.github.com/repos/bosnet/sebak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bosnet/sebak/merges","archive_url":"https://api.github.com/repos/bosnet/sebak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bosnet/sebak/downloads","issues_url":"https://api.github.com/repos/bosnet/sebak/issues{/number}","pulls_url":"https://api.github.com/repos/bosnet/sebak/pulls{/number}","milestones_url":"https://api.github.com/repos/bosnet/sebak/milestones{/number}","notifications_url":"https://api.github.com/repos/bosnet/sebak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bosnet/sebak/labels{/name}","releases_url":"https://api.github.com/repos/bosnet/sebak/releases{/id}","deployments_url":"https://api.github.com/repos/bosnet/sebak/deployments","created_at":"2018-04-17T05:05:34Z","updated_at":"2018-10-01T03:43:18Z","pushed_at":"2018-10-01T07:19:33Z","git_url":"git://github.com/bosnet/sebak.git","ssh_url":"git@github.com:bosnet/sebak.git","clone_url":"https://github.com/bosnet/sebak.git","svn_url":"https://github.com/bosnet/sebak","homepage":"https://boscoin.io","size":1102,"stargazers_count":36,"watchers_count":36,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":83,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":15,"open_issues":83,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bosnet/sebak/pulls/470"},"html":{"href":"https://github.com/bosnet/sebak/pull/470"},"issue":{"href":"https://api.github.com/repos/bosnet/sebak/issues/470"},"comments":{"href":"https://api.github.com/repos/bosnet/sebak/issues/470/comments"},"review_comments":{"href":"https://api.github.com/repos/bosnet/sebak/pulls/470/comments"},"review_comment":{"href":"https://api.github.com/repos/bosnet/sebak/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bosnet/sebak/pulls/470/commits"},"statuses":{"href":"https://api.github.com/repos/bosnet/sebak/statuses/c741bafc35c467783c2c5e62b1b84af18cf08462"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":9,"deletions":9,"changed_files":3}}
{"actor":{"display_login":"outsideris"}}