{"action":"opened","issue":{"url":"https://api.github.com/repos/jedisct1/libsodium.js/issues/101","repository_url":"https://api.github.com/repos/jedisct1/libsodium.js","labels_url":"https://api.github.com/repos/jedisct1/libsodium.js/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/jedisct1/libsodium.js/issues/101/comments","events_url":"https://api.github.com/repos/jedisct1/libsodium.js/issues/101/events","html_url":"https://github.com/jedisct1/libsodium.js/issues/101","id":258237786,"number":101,"title":"Missing `crypto_stream` APIs","user":{"login":"creationix","id":89353,"avatar_url":"https://avatars3.githubusercontent.com/u/89353?v=4","gravatar_id":"","url":"https://api.github.com/users/creationix","html_url":"https://github.com/creationix","followers_url":"https://api.github.com/users/creationix/followers","following_url":"https://api.github.com/users/creationix/following{/other_user}","gists_url":"https://api.github.com/users/creationix/gists{/gist_id}","starred_url":"https://api.github.com/users/creationix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creationix/subscriptions","organizations_url":"https://api.github.com/users/creationix/orgs","repos_url":"https://api.github.com/users/creationix/repos","events_url":"https://api.github.com/users/creationix/events{/privacy}","received_events_url":"https://api.github.com/users/creationix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-16T15:16:22Z","updated_at":"2017-09-16T15:16:22Z","closed_at":null,"author_association":"NONE","body":"The README says it supports the `crypto_stream` functions:\r\n\r\n> - `crypto_stream` (Salsa20, XSalsa20, ChaCha20, XChaCha20)\r\n\r\nBut in the normal build, it only has the key generation functions, and in the sumo build, it has a weird subset of them.\r\n\r\nIn particular I'm trying to implement the [dat protocol](https://github.com/datproject/docs/blob/master/papers/dat-paper.md).  Digging into the implementation, it appears to use `crypto_stream_xsalsa20_xor_ic` https://github.com/sodium-friends/sodium-native/blob/67be609dd40ea42033747605e3819d913ea290cd/src/crypto_stream_xor_wrap.cc#L36\r\n\r\nIs there a way I can make a custom build of the library with the exact set of functions I need?  Or are there plans to add the missing stream functions?"}}
{"actor":{"display_login":"creationix"}}