crypto/cipher.Stream.XORKeyStream (method)
18 uses
crypto/cipher (current package)
cipher.go#L40: XORKeyStream(dst, src []byte)
io.go#L21: r.S.XORKeyStream(dst[:n], dst[:n])
io.go#L38: w.S.XORKeyStream(c, src)
crypto/tls
conn.go#L358: c.XORKeyStream(payload, payload)
conn.go#L510: c.XORKeyStream(dst[:len(payload)], payload)
conn.go#L511: c.XORKeyStream(dst[len(payload):], mac)
ticket.go#L344: cipher.NewCTR(block, iv).XORKeyStream(ciphertext, state)
ticket.go#L394: cipher.NewCTR(block, iv).XORKeyStream(plaintext, ciphertext)
github.com/gotd/td/mtproxy/obfuscated2
keys.go#L69: k.encrypt.XORKeyStream(encryptedInit[:], init[:])
obfuscated2.go#L45: o.encrypt.XORKeyStream(cpyB, b)
obfuscated2.go#L56: o.decrypt.XORKeyStream(b[:n], b[:n])
server.go#L32: k.decrypt.XORKeyStream(decrypted[:], buf)
github.com/gotd/td/telegram/downloader
cdn_verify.go#L333: cipher.NewCTR(block, iv.Buf).XORKeyStream(dst, src)
github.com/refraction-networking/utls
conn.go#L362: c.XORKeyStream(payload, payload)
conn.go#L514: c.XORKeyStream(dst[:len(payload)], payload)
conn.go#L515: c.XORKeyStream(dst[len(payload):], mac)
ticket.go#L339: cipher.NewCTR(block, iv).XORKeyStream(ciphertext, state)
ticket.go#L389: cipher.NewCTR(block, iv).XORKeyStream(plaintext, ciphertext)
 |
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. |