Standard Library

GoCryptoRc4

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.

Other Methods

.Cipher.Reset()Neutral
#
Signature
Cipher.Reset()

Reset zeros the key data and makes the Cipher unusable.

.Cipher.XORKeyStream()Neutral
#
Signature
Cipher.XORKeyStream(dst []byte, src []byte)

XORKeyStream sets dst to the result of XORing src with the key stream.

.KeySizeError.Error()Neutral
#
Signature
KeySizeError.Error() string

KeySizeError.Error function.

.NewCipher()Neutral
#
Signature
NewCipher(key []byte) (*Cipher, error)

NewCipher creates and returns a new Cipher. The key argument should be the

.Cipher()Neutral
#
Signature
type Cipher ...

A Cipher is an instance of RC4 using a particular key.

.KeySizeError()Neutral
#
Signature
type KeySizeError ...

KeySizeError type.

Fully-Qualified Names

FQNField
crypto/rc4fqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # crypto/rc4