github.com/lib/pq/scram.Client.clientNonce (field)
8 uses
github.com/lib/pq/scram (current package)
scram.go#L66: clientNonce []byte
scram.go#L105: c.clientNonce = nonce
scram.go#L132: if len(c.clientNonce) == 0 {
scram.go#L138: c.clientNonce = buf[nonceLen:]
scram.go#L139: b64.Encode(c.clientNonce, buf[:nonceLen])
scram.go#L144: c.authMsg.Write(c.clientNonce)
scram.go#L172: if !bytes.HasPrefix(c.serverNonce, c.clientNonce) {
scram.go#L173: return fmt.Errorf("server SCRAM-SHA-256 nonce is not prefixed by client nonce: got %q, want %q+\"...\"", c.serverNonce, c.clientNonce)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |