{"action":"created","issue":{"url":"https://api.github.com/repos/alax/jsrp/issues/11","repository_url":"https://api.github.com/repos/alax/jsrp","labels_url":"https://api.github.com/repos/alax/jsrp/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/alax/jsrp/issues/11/comments","events_url":"https://api.github.com/repos/alax/jsrp/issues/11/events","html_url":"https://github.com/alax/jsrp/pull/11","id":177323608,"number":11,"title":"Dramatically reduce the size of browserified code by using only the parts of crypto needed","user":{"login":"grempe","id":117,"avatar_url":"https://avatars.githubusercontent.com/u/117?v=3","gravatar_id":"","url":"https://api.github.com/users/grempe","html_url":"https://github.com/grempe","followers_url":"https://api.github.com/users/grempe/followers","following_url":"https://api.github.com/users/grempe/following{/other_user}","gists_url":"https://api.github.com/users/grempe/gists{/gist_id}","starred_url":"https://api.github.com/users/grempe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grempe/subscriptions","organizations_url":"https://api.github.com/users/grempe/orgs","repos_url":"https://api.github.com/users/grempe/repos","events_url":"https://api.github.com/users/grempe/events{/privacy}","received_events_url":"https://api.github.com/users/grempe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-16T00:44:34Z","updated_at":"2016-09-16T01:18:09Z","closed_at":"2016-09-16T01:17:59Z","pull_request":{"url":"https://api.github.com/repos/alax/jsrp/pulls/11","html_url":"https://github.com/alax/jsrp/pull/11","diff_url":"https://github.com/alax/jsrp/pull/11.diff","patch_url":"https://github.com/alax/jsrp/pull/11.patch"},"body":"Existing code bakes in all of node crypto lib. Instead use:\r\n\r\ncreate-hash:\r\nhttps://github.com/crypto-browserify/createHash\r\n\r\nrandombytes:\r\nhttps://github.com/crypto-browserify/randombytes\r\n\r\nBoth are shims around the crypto libs in node, and in the browser use native functions.\r\n\r\nThis reduces the compiled browserify output of 'jsrp-browser.js' from\r\n636814 bytes to 250336 bytes. A massive reduction for browser users\r\nwith no change in API, functionality, or security."},"comment":{"url":"https://api.github.com/repos/alax/jsrp/issues/comments/247496773","html_url":"https://github.com/alax/jsrp/pull/11#issuecomment-247496773","issue_url":"https://api.github.com/repos/alax/jsrp/issues/11","id":247496773,"user":{"login":"alax","id":474940,"avatar_url":"https://avatars.githubusercontent.com/u/474940?v=3","gravatar_id":"","url":"https://api.github.com/users/alax","html_url":"https://github.com/alax","followers_url":"https://api.github.com/users/alax/followers","following_url":"https://api.github.com/users/alax/following{/other_user}","gists_url":"https://api.github.com/users/alax/gists{/gist_id}","starred_url":"https://api.github.com/users/alax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alax/subscriptions","organizations_url":"https://api.github.com/users/alax/orgs","repos_url":"https://api.github.com/users/alax/repos","events_url":"https://api.github.com/users/alax/events{/privacy}","received_events_url":"https://api.github.com/users/alax/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T01:18:09Z","updated_at":"2016-09-16T01:18:09Z","body":"Looks great, thanks!"}}
{"actor":{"display_login":"alax"}}