sodium-javascript icon indicating copy to clipboard operation
sodium-javascript copied to clipboard

libsodium.js

Open bcomnes opened this issue 5 years ago • 2 comments

I was wondering if there were any clarifications that could be made between the differences between sodium-javascript and https://github.com/jedisct1/libsodium.js. Just the shape of the API?

bcomnes avatar Jan 15 '20 00:01 bcomnes

I think that's compiled from the original libsodium source to wasm, whereas this is an effort at writing it from scratch in JS.

christianbundy avatar Aug 26 '20 20:08 christianbundy

Yeah does appear to be a difference, but I was hoping to clarify if that was a sticking point or not (e.g. whether or not an approach like https://github.com/geut/sodium-javascript-plus would provide more mileage and consistency and whether or not the outcome is the goal rather than the implementation details.) sodium-javascript-plus was not available at the time of opening, and I was wondering if that would an acceptable approach here or for sodium-universal (e.g. maybe using libsodium.js inside of sodium-javascript would be an acceptable approach) .

bcomnes avatar Aug 27 '20 16:08 bcomnes