Go stdlib package — crypto/rc4. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Cipher.Reset()NeutralCipher.Reset()
Reset zeros the key data and makes the Cipher unusable.
.Cipher.XORKeyStream()NeutralCipher.XORKeyStream(dst []byte, src []byte)
XORKeyStream sets dst to the result of XORing src with the key stream.
.NewCipher()NeutralNewCipher(key []byte) (*Cipher, error)
NewCipher creates and returns a new Cipher. The key argument should be the
| FQN | Field | |
|---|---|---|
| crypto/rc4 | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # crypto/rc4