MCPcopy Create free account
hub / github.com/XTLS/Go / cipherRC4

Function cipherRC4

cipher_suites.go:401–404  ·  view source on GitHub ↗
(key, iv []byte, isRead bool)

Source from the content-addressed store, hash-verified

399}
400
401func cipherRC4(key, iv []byte, isRead bool) any {
402 cipher, _ := rc4.NewCipher(key)
403 return cipher
404}
405
406func cipher3DES(key, iv []byte, isRead bool) any {
407 block, _ := des.NewTripleDESCipher(key)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…