3 ms·
I'm not familiar with Go, but was looking through the source code and saw this: encrypted = secretbox.Seal(nonce[:], chunk, &nonce, &key) Is secretbox [1] a
by provost 9y ago
I'm not familiar with Go, but was looking through the source code and saw this:
encrypted = secretbox.Seal(nonce[:], chunk, &nonce, &key)
Is secretbox [1] a standard Go library?
[1] https://godoc.org/golang.org/x/crypto/nacl/secretbox https://godoc.org/golang.org/x/crypto/nacl/secretbox
- brigandish 9y agoNaCl is the library, secretbox is one of the methods. It's been implemented into libraries for several languages, I'm currently using the Ruby one to make an encrypted backup app that suits my needs. It makes using encryption straightforward. http://nacl.cr.yp.to/ http://nacl.cr.yp.to/