dchest / tweetnacl-js

Port of TweetNaCl cryptographic library to JavaScript
https://tweetnacl.js.org
The Unlicense
1.77k stars 293 forks source link

Does crypto_stream_salsa20_xor always return 0? #175

Closed DanielRuf closed 5 years ago

DanielRuf commented 5 years ago

Shouldn't crypto_stream_salsa20_xor return something else than always 0?

Edit: oversaw that global values are overwritten / set by this. So the return values are misleading in general.