{"action":"created","issue":{"url":"https://api.github.com/repos/edemo/PDOauth/issues/483","repository_url":"https://api.github.com/repos/edemo/PDOauth","labels_url":"https://api.github.com/repos/edemo/PDOauth/issues/483/labels{/name}","comments_url":"https://api.github.com/repos/edemo/PDOauth/issues/483/comments","events_url":"https://api.github.com/repos/edemo/PDOauth/issues/483/events","html_url":"https://github.com/edemo/PDOauth/issues/483","id":140217757,"number":483,"title":"window.crypto alapú kulcsgenerálás","user":{"login":"magwas","id":756838,"avatar_url":"https://avatars.githubusercontent.com/u/756838?v=3","gravatar_id":"","url":"https://api.github.com/users/magwas","html_url":"https://github.com/magwas","followers_url":"https://api.github.com/users/magwas/followers","following_url":"https://api.github.com/users/magwas/following{/other_user}","gists_url":"https://api.github.com/users/magwas/gists{/gist_id}","starred_url":"https://api.github.com/users/magwas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magwas/subscriptions","organizations_url":"https://api.github.com/users/magwas/orgs","repos_url":"https://api.github.com/users/magwas/repos","events_url":"https://api.github.com/users/magwas/events{/privacy}","received_events_url":"https://api.github.com/users/magwas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edemo/PDOauth/labels/3%20-%20Working","name":"3 - Working","color":"CCCCCC"},{"url":"https://api.github.com/repos/edemo/PDOauth/labels/keygen","name":"keygen","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"Claymanus","id":1410059,"avatar_url":"https://avatars.githubusercontent.com/u/1410059?v=3","gravatar_id":"","url":"https://api.github.com/users/Claymanus","html_url":"https://github.com/Claymanus","followers_url":"https://api.github.com/users/Claymanus/followers","following_url":"https://api.github.com/users/Claymanus/following{/other_user}","gists_url":"https://api.github.com/users/Claymanus/gists{/gist_id}","starred_url":"https://api.github.com/users/Claymanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Claymanus/subscriptions","organizations_url":"https://api.github.com/users/Claymanus/orgs","repos_url":"https://api.github.com/users/Claymanus/repos","events_url":"https://api.github.com/users/Claymanus/events{/privacy}","received_events_url":"https://api.github.com/users/Claymanus/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2016-03-11T15:48:29Z","updated_at":"2016-04-03T13:36:25Z","closed_at":null,"body":"function createAndSaveAKeyPair() {\n    return window.crypto.subtle.generateKey(\n        {\n            name: \"RSA-OAEP\",\n            modulusLength: 2048,\n            publicExponent: new Uint8Array([1, 0, 1]),  // 24 bit representation of 65537\n            hash: {name: \"SHA-256\"}\n        },\n        false,   // can extract it later if we want\n        [\"encrypt\", \"decrypt\", \"sign\", \"verify\"]).\n    then(function(key) {\n        keyPair = key;\n        return key;\n    });\n}\n\nInnen: http://blog.engelke.com/2014/08/23/public-key-cryptography-in-the-browser/\n\nhttps://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#dfn-KeyUsage\n\n<!---\n@huboard:{\"order\":2.4056270854791227e-15,\"milestone_order\":5.0561999132621776e-61,\"custom_state\":\"\"}\n-->\n"},"comment":{"url":"https://api.github.com/repos/edemo/PDOauth/issues/comments/204978321","html_url":"https://github.com/edemo/PDOauth/issues/483#issuecomment-204978321","issue_url":"https://api.github.com/repos/edemo/PDOauth/issues/483","id":204978321,"user":{"login":"Claymanus","id":1410059,"avatar_url":"https://avatars.githubusercontent.com/u/1410059?v=3","gravatar_id":"","url":"https://api.github.com/users/Claymanus","html_url":"https://github.com/Claymanus","followers_url":"https://api.github.com/users/Claymanus/followers","following_url":"https://api.github.com/users/Claymanus/following{/other_user}","gists_url":"https://api.github.com/users/Claymanus/gists{/gist_id}","starred_url":"https://api.github.com/users/Claymanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Claymanus/subscriptions","organizations_url":"https://api.github.com/users/Claymanus/orgs","repos_url":"https://api.github.com/users/Claymanus/repos","events_url":"https://api.github.com/users/Claymanus/events{/privacy}","received_events_url":"https://api.github.com/users/Claymanus/received_events","type":"User","site_admin":false},"created_at":"2016-04-03T13:36:25Z","updated_at":"2016-04-03T13:36:25Z","body":"https://diafygi.github.io/webcrypto-examples/"}}