GoSodium
GoSodium copied to clipboard
Sample program
I just noticed this sample program that was submitted in an issue to the official libsodium repo and I thought it'd be a good thing to implement in Go. Here's the gist.
I tried to get a simple crypto_box example working. Seems to encrypt but not decrypt.
Can anybody help see what is wrong?
https://gist.github.com/DaveAppleton/5a908e27d0cc568fbc23
I'm not sure of the condition of this repo, so I'd suggest using https://godoc.org/golang.org/x/crypto/nacl for now.
Thanks...