{"action":"created","comment":{"url":"https://api.github.com/repos/indutny/elliptic/pulls/comments/31867393","id":31867393,"diff_hunk":"@@ -0,0 +1,92 @@\n+'use strict';\n+\n+var elliptic = require('../../elliptic');\n+var utils = elliptic.utils;\n+var assert = utils.assert;\n+\n+function lazyComputed(obj, name, computer) {\n+  var key = '_' + name;\n+  obj.prototype[name] = function() {","path":"lib/elliptic/eddsa/key.js","position":9,"original_position":9,"commit_id":"78cdeed5d4faf5ec8800e7fca422601e5f14352d","original_commit_id":"78cdeed5d4faf5ec8800e7fca422601e5f14352d","user":{"login":"indutny","id":238531,"avatar_url":"https://avatars.githubusercontent.com/u/238531?v=3","gravatar_id":"","url":"https://api.github.com/users/indutny","html_url":"https://github.com/indutny","followers_url":"https://api.github.com/users/indutny/followers","following_url":"https://api.github.com/users/indutny/following{/other_user}","gists_url":"https://api.github.com/users/indutny/gists{/gist_id}","starred_url":"https://api.github.com/users/indutny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indutny/subscriptions","organizations_url":"https://api.github.com/users/indutny/orgs","repos_url":"https://api.github.com/users/indutny/repos","events_url":"https://api.github.com/users/indutny/events{/privacy}","received_events_url":"https://api.github.com/users/indutny/received_events","type":"User","site_admin":false},"body":"I suggest giving this function a name.","created_at":"2015-06-06T11:54:51Z","updated_at":"2015-06-06T11:54:51Z","html_url":"https://github.com/indutny/elliptic/pull/40#discussion_r31867393","pull_request_url":"https://api.github.com/repos/indutny/elliptic/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/indutny/elliptic/pulls/comments/31867393"},"html":{"href":"https://github.com/indutny/elliptic/pull/40#discussion_r31867393"},"pull_request":{"href":"https://api.github.com/repos/indutny/elliptic/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/indutny/elliptic/pulls/40","id":36604658,"html_url":"https://github.com/indutny/elliptic/pull/40","diff_url":"https://github.com/indutny/elliptic/pull/40.diff","patch_url":"https://github.com/indutny/elliptic/pull/40.patch","issue_url":"https://api.github.com/repos/indutny/elliptic/issues/40","number":40,"state":"open","locked":false,"title":"[WIP] Add EdDSA / Ed25519 class and tests","user":{"login":"sublimator","id":525211,"avatar_url":"https://avatars.githubusercontent.com/u/525211?v=3","gravatar_id":"","url":"https://api.github.com/users/sublimator","html_url":"https://github.com/sublimator","followers_url":"https://api.github.com/users/sublimator/followers","following_url":"https://api.github.com/users/sublimator/following{/other_user}","gists_url":"https://api.github.com/users/sublimator/gists{/gist_id}","starred_url":"https://api.github.com/users/sublimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sublimator/subscriptions","organizations_url":"https://api.github.com/users/sublimator/orgs","repos_url":"https://api.github.com/users/sublimator/repos","events_url":"https://api.github.com/users/sublimator/events{/privacy}","received_events_url":"https://api.github.com/users/sublimator/received_events","type":"User","site_admin":false},"body":"Work in progress. Up for comment.\r\n\r\n#38 ","created_at":"2015-06-01T07:30:59Z","updated_at":"2015-06-06T11:54:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73faff7663e42438a7cc29d3e0982af1b0c5e0de","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/indutny/elliptic/pulls/40/commits","review_comments_url":"https://api.github.com/repos/indutny/elliptic/pulls/40/comments","review_comment_url":"https://api.github.com/repos/indutny/elliptic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/indutny/elliptic/issues/40/comments","statuses_url":"https://api.github.com/repos/indutny/elliptic/statuses/78cdeed5d4faf5ec8800e7fca422601e5f14352d","head":{"label":"sublimator:derivations-test","ref":"derivations-test","sha":"78cdeed5d4faf5ec8800e7fca422601e5f14352d","user":{"login":"sublimator","id":525211,"avatar_url":"https://avatars.githubusercontent.com/u/525211?v=3","gravatar_id":"","url":"https://api.github.com/users/sublimator","html_url":"https://github.com/sublimator","followers_url":"https://api.github.com/users/sublimator/followers","following_url":"https://api.github.com/users/sublimator/following{/other_user}","gists_url":"https://api.github.com/users/sublimator/gists{/gist_id}","starred_url":"https://api.github.com/users/sublimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sublimator/subscriptions","organizations_url":"https://api.github.com/users/sublimator/orgs","repos_url":"https://api.github.com/users/sublimator/repos","events_url":"https://api.github.com/users/sublimator/events{/privacy}","received_events_url":"https://api.github.com/users/sublimator/received_events","type":"User","site_admin":false},"repo":{"id":35797744,"name":"elliptic","full_name":"sublimator/elliptic","owner":{"login":"sublimator","id":525211,"avatar_url":"https://avatars.githubusercontent.com/u/525211?v=3","gravatar_id":"","url":"https://api.github.com/users/sublimator","html_url":"https://github.com/sublimator","followers_url":"https://api.github.com/users/sublimator/followers","following_url":"https://api.github.com/users/sublimator/following{/other_user}","gists_url":"https://api.github.com/users/sublimator/gists{/gist_id}","starred_url":"https://api.github.com/users/sublimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sublimator/subscriptions","organizations_url":"https://api.github.com/users/sublimator/orgs","repos_url":"https://api.github.com/users/sublimator/repos","events_url":"https://api.github.com/users/sublimator/events{/privacy}","received_events_url":"https://api.github.com/users/sublimator/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sublimator/elliptic","description":"Fast Elliptic Curve Cryptography in plain javascript","fork":true,"url":"https://api.github.com/repos/sublimator/elliptic","forks_url":"https://api.github.com/repos/sublimator/elliptic/forks","keys_url":"https://api.github.com/repos/sublimator/elliptic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sublimator/elliptic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sublimator/elliptic/teams","hooks_url":"https://api.github.com/repos/sublimator/elliptic/hooks","issue_events_url":"https://api.github.com/repos/sublimator/elliptic/issues/events{/number}","events_url":"https://api.github.com/repos/sublimator/elliptic/events","assignees_url":"https://api.github.com/repos/sublimator/elliptic/assignees{/user}","branches_url":"https://api.github.com/repos/sublimator/elliptic/branches{/branch}","tags_url":"https://api.github.com/repos/sublimator/elliptic/tags","blobs_url":"https://api.github.com/repos/sublimator/elliptic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sublimator/elliptic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sublimator/elliptic/git/refs{/sha}","trees_url":"https://api.github.com/repos/sublimator/elliptic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sublimator/elliptic/statuses/{sha}","languages_url":"https://api.github.com/repos/sublimator/elliptic/languages","stargazers_url":"https://api.github.com/repos/sublimator/elliptic/stargazers","contributors_url":"https://api.github.com/repos/sublimator/elliptic/contributors","subscribers_url":"https://api.github.com/repos/sublimator/elliptic/subscribers","subscription_url":"https://api.github.com/repos/sublimator/elliptic/subscription","commits_url":"https://api.github.com/repos/sublimator/elliptic/commits{/sha}","git_commits_url":"https://api.github.com/repos/sublimator/elliptic/git/commits{/sha}","comments_url":"https://api.github.com/repos/sublimator/elliptic/comments{/number}","issue_comment_url":"https://api.github.com/repos/sublimator/elliptic/issues/comments{/number}","contents_url":"https://api.github.com/repos/sublimator/elliptic/contents/{+path}","compare_url":"https://api.github.com/repos/sublimator/elliptic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sublimator/elliptic/merges","archive_url":"https://api.github.com/repos/sublimator/elliptic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sublimator/elliptic/downloads","issues_url":"https://api.github.com/repos/sublimator/elliptic/issues{/number}","pulls_url":"https://api.github.com/repos/sublimator/elliptic/pulls{/number}","milestones_url":"https://api.github.com/repos/sublimator/elliptic/milestones{/number}","notifications_url":"https://api.github.com/repos/sublimator/elliptic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sublimator/elliptic/labels{/name}","releases_url":"https://api.github.com/repos/sublimator/elliptic/releases{/id}","created_at":"2015-05-18T05:02:48Z","updated_at":"2015-05-18T05:02:48Z","pushed_at":"2015-06-06T11:49:42Z","git_url":"git://github.com/sublimator/elliptic.git","ssh_url":"git@github.com:sublimator/elliptic.git","clone_url":"https://github.com/sublimator/elliptic.git","svn_url":"https://github.com/sublimator/elliptic","homepage":"","size":1707,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"indutny:master","ref":"master","sha":"dfef517a0dcf145faec353fb88fdee6646d95ad4","user":{"login":"indutny","id":238531,"avatar_url":"https://avatars.githubusercontent.com/u/238531?v=3","gravatar_id":"","url":"https://api.github.com/users/indutny","html_url":"https://github.com/indutny","followers_url":"https://api.github.com/users/indutny/followers","following_url":"https://api.github.com/users/indutny/following{/other_user}","gists_url":"https://api.github.com/users/indutny/gists{/gist_id}","starred_url":"https://api.github.com/users/indutny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indutny/subscriptions","organizations_url":"https://api.github.com/users/indutny/orgs","repos_url":"https://api.github.com/users/indutny/repos","events_url":"https://api.github.com/users/indutny/events{/privacy}","received_events_url":"https://api.github.com/users/indutny/received_events","type":"User","site_admin":false},"repo":{"id":19029120,"name":"elliptic","full_name":"indutny/elliptic","owner":{"login":"indutny","id":238531,"avatar_url":"https://avatars.githubusercontent.com/u/238531?v=3","gravatar_id":"","url":"https://api.github.com/users/indutny","html_url":"https://github.com/indutny","followers_url":"https://api.github.com/users/indutny/followers","following_url":"https://api.github.com/users/indutny/following{/other_user}","gists_url":"https://api.github.com/users/indutny/gists{/gist_id}","starred_url":"https://api.github.com/users/indutny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indutny/subscriptions","organizations_url":"https://api.github.com/users/indutny/orgs","repos_url":"https://api.github.com/users/indutny/repos","events_url":"https://api.github.com/users/indutny/events{/privacy}","received_events_url":"https://api.github.com/users/indutny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/indutny/elliptic","description":"Fast Elliptic Curve Cryptography in plain javascript","fork":false,"url":"https://api.github.com/repos/indutny/elliptic","forks_url":"https://api.github.com/repos/indutny/elliptic/forks","keys_url":"https://api.github.com/repos/indutny/elliptic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/indutny/elliptic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/indutny/elliptic/teams","hooks_url":"https://api.github.com/repos/indutny/elliptic/hooks","issue_events_url":"https://api.github.com/repos/indutny/elliptic/issues/events{/number}","events_url":"https://api.github.com/repos/indutny/elliptic/events","assignees_url":"https://api.github.com/repos/indutny/elliptic/assignees{/user}","branches_url":"https://api.github.com/repos/indutny/elliptic/branches{/branch}","tags_url":"https://api.github.com/repos/indutny/elliptic/tags","blobs_url":"https://api.github.com/repos/indutny/elliptic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/indutny/elliptic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/indutny/elliptic/git/refs{/sha}","trees_url":"https://api.github.com/repos/indutny/elliptic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/indutny/elliptic/statuses/{sha}","languages_url":"https://api.github.com/repos/indutny/elliptic/languages","stargazers_url":"https://api.github.com/repos/indutny/elliptic/stargazers","contributors_url":"https://api.github.com/repos/indutny/elliptic/contributors","subscribers_url":"https://api.github.com/repos/indutny/elliptic/subscribers","subscription_url":"https://api.github.com/repos/indutny/elliptic/subscription","commits_url":"https://api.github.com/repos/indutny/elliptic/commits{/sha}","git_commits_url":"https://api.github.com/repos/indutny/elliptic/git/commits{/sha}","comments_url":"https://api.github.com/repos/indutny/elliptic/comments{/number}","issue_comment_url":"https://api.github.com/repos/indutny/elliptic/issues/comments{/number}","contents_url":"https://api.github.com/repos/indutny/elliptic/contents/{+path}","compare_url":"https://api.github.com/repos/indutny/elliptic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/indutny/elliptic/merges","archive_url":"https://api.github.com/repos/indutny/elliptic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/indutny/elliptic/downloads","issues_url":"https://api.github.com/repos/indutny/elliptic/issues{/number}","pulls_url":"https://api.github.com/repos/indutny/elliptic/pulls{/number}","milestones_url":"https://api.github.com/repos/indutny/elliptic/milestones{/number}","notifications_url":"https://api.github.com/repos/indutny/elliptic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/indutny/elliptic/labels{/name}","releases_url":"https://api.github.com/repos/indutny/elliptic/releases{/id}","created_at":"2014-04-22T12:42:51Z","updated_at":"2015-06-05T06:38:23Z","pushed_at":"2015-06-06T11:49:43Z","git_url":"git://github.com/indutny/elliptic.git","ssh_url":"git@github.com:indutny/elliptic.git","clone_url":"https://github.com/indutny/elliptic.git","svn_url":"https://github.com/indutny/elliptic","homepage":"","size":1864,"stargazers_count":101,"watchers_count":101,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":7,"forks":20,"open_issues":7,"watchers":101,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/indutny/elliptic/pulls/40"},"html":{"href":"https://github.com/indutny/elliptic/pull/40"},"issue":{"href":"https://api.github.com/repos/indutny/elliptic/issues/40"},"comments":{"href":"https://api.github.com/repos/indutny/elliptic/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/indutny/elliptic/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/indutny/elliptic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/indutny/elliptic/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/indutny/elliptic/statuses/78cdeed5d4faf5ec8800e7fca422601e5f14352d"}}}}