MCPcopy Create free account
hub / github.com/TideSec/GoBypassAV / main

Function main

Encryption/RC4_code/main.go:29–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func main(){
30 key := []byte("TideSec")
31 data := []byte("Hello Tide")
32 s := rc4encode(data, key)
33 fmt.Printf("加密密钥: %v \n", string(key))
34 fmt.Printf("加密数据: %v \n", string(data))
35 fmt.Printf("加密结果: %v \n", string(s))
36 d := rc4decode(s, key)
37 fmt.Printf("解密结果: %v \n", string(d))
38}

Callers

nothing calls this directly

Calls 2

rc4encodeFunction · 0.85
rc4decodeFunction · 0.85

Tested by

no test coverage detected