var github.com/lib/pq/scram.b64
9 uses
github.com/lib/pq/scram (current package)
scram.go#L134: buf := make([]byte, nonceLen+b64.EncodedLen(nonceLen))
scram.go#L139: b64.Encode(c.clientNonce, buf[:nonceLen])
scram.go#L151: var b64 = base64.StdEncoding
scram.go#L176: salt := make([]byte, b64.DecodedLen(len(fields[1][2:])))
scram.go#L177: n, err := b64.Decode(salt, fields[1][2:])
scram.go#L247: clientProof64 := make([]byte, b64.EncodedLen(len(clientProof)))
scram.go#L248: b64.Encode(clientProof64, clientProof)
scram.go#L261: encoded := make([]byte, b64.EncodedLen(len(serverSignature)))
scram.go#L262: b64.Encode(encoded, serverSignature)
![]() |
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. |