On Saturday, July 13, 2019 at 6:28:25 AM UTC+2, mike wrote:
>
> Does anyone have any sample code which shows interoperability between Go's 
> golang.org/x/crypto/nacl/box and C's NaCl or libsodium? I have been 
> having trouble boxing with Go and opening with NaCl (and vice versa). I 
> have used NaCl from C a lot, but the Go NaCl packages are new to me. I am a 
> little unclear as to whether the Go routines are compatible with 
> crypto_box_open or libsodium's crypto_box_open_easy, for example.
>
>
Go NaCl implementation *should* be compatible with NaCl.  I'm not sure 
about the compatibility between C NaCl and libsodium, you should check the 
source code.
If they are not compatible, it is probably a bug.

Writing sample code to check interoperability should not be hard.


Manlio Perillo

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/e6e6b67f-2186-42b4-84c6-0da9a2dda9c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to