{"action":"opened","issue":{"url":"https://api.github.com/repos/dattnetwork/datt-node/issues/11","labels_url":"https://api.github.com/repos/dattnetwork/datt-node/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/dattnetwork/datt-node/issues/11/comments","events_url":"https://api.github.com/repos/dattnetwork/datt-node/issues/11/events","html_url":"https://github.com/dattnetwork/datt-node/issues/11","id":101775980,"number":11,"title":"put all crypto in web workers (browser) or child process forks (ndde)","user":{"login":"ryanxcharles","id":63740,"avatar_url":"https://avatars.githubusercontent.com/u/63740?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanxcharles","html_url":"https://github.com/ryanxcharles","followers_url":"https://api.github.com/users/ryanxcharles/followers","following_url":"https://api.github.com/users/ryanxcharles/following{/other_user}","gists_url":"https://api.github.com/users/ryanxcharles/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanxcharles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanxcharles/subscriptions","organizations_url":"https://api.github.com/users/ryanxcharles/orgs","repos_url":"https://api.github.com/users/ryanxcharles/repos","events_url":"https://api.github.com/users/ryanxcharles/events{/privacy}","received_events_url":"https://api.github.com/users/ryanxcharles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-19T00:00:35Z","updated_at":"2015-08-19T00:00:35Z","closed_at":null,"body":"Crypto is slow and will block networking and the UI. We need to create an interface for running crypto in a web worker (browser) or child process fork (node). fullnode has an example interface that does exactly this. We need to do something similar.\r\n\r\nOne way to do this is to create a \"Work\" interface like fullnode that allows using any object's methods in a worker. Another option, which is perhaps simpler, but less general, is to just create an asynchronous \"crypto\" interface that handles basic crypto operations in its own managed workers."}}