const vendor/golang.org/x/crypto/chacha20.NonceSize
4 uses
vendor/golang.org/x/crypto/chacha20 (current package)
chacha_generic.go#L27: NonceSize = 12
chacha_generic.go#L89: cNonce := make([]byte, NonceSize)
chacha_generic.go#L92: } else if len(nonce) != NonceSize {
chacha_generic.go#L96: key, nonce = key[:KeySize], nonce[:NonceSize] // bounds check elimination hint
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |