github.com/refraction-networking/utls.GREASEEncryptedClientHelloExtension.CandidatePayloadLens (field)
8 uses
github.com/refraction-networking/utls (current package)
u_ech.go#L52: CandidatePayloadLens []uint16 // Pre-encryption. If 0, will pick 128(+16=144)
u_ech.go#L131: if len(g.CandidatePayloadLens) == 0 {
u_ech.go#L132: g.CandidatePayloadLens = []uint16{128}
u_ech.go#L136: rndIndex, err := rand.Int(rand.Reader, big.NewInt(int64(len(g.CandidatePayloadLens))))
u_ech.go#L142: initErr = g.randomizePayload(g.CandidatePayloadLens[rndIndex.Int64()])
u_ech.go#L259: g.CandidatePayloadLens = []uint16{uint16(len(ignored) - cipherLen(g.cipherSuite.AeadId, 0))}
u_ech.go#L304: CandidatePayloadLens: []uint16{128, 160, 192, 224}, // +16: 144, 176, 208, 240
u_parrots.go#L1455: CandidatePayloadLens: []uint16{223}, // +16: 239
 |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |