13
13
message, etc. Nonces are long enough that randomly generated nonces have
14
14
negligible risk of collision.
18
18
package box // import "golang.org/x/crypto/nacl/box"
21
23
"golang.org/x/crypto/curve25519"
22
24
"golang.org/x/crypto/nacl/secretbox"
23
25
"golang.org/x/crypto/salsa20/salsa"
27
28
// Overhead is the number of bytes of overhead when boxing a message.