Go stdlib package — crypto. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Hash.Available()NeutralHash.Available() bool
Available reports whether the given hash function is linked into the binary.
.Hash.HashFunc()NeutralHash.HashFunc() Hash
HashFunc simply returns the value of h so that Hash implements SignerOpts.
.Hash.New()NeutralHash.New() hash.Hash
New returns a new hash.Hash calculating the given hash function. New panics
.Hash.Size()NeutralHash.Size() int
Size returns the length, in bytes, of a digest resulting from the given hash
.RegisterHash()NeutralRegisterHash(h Hash, f func() hash.Hash)
RegisterHash registers a function that returns a new instance of the given
.Decrypter()Neutraltype Decrypter ...
Decrypter is an interface for an opaque private key that can be used for
.Hash()Neutraltype Hash ...
Hash identifies a cryptographic hash function that is implemented in another
.PrivateKey()Neutraltype PrivateKey ...
PrivateKey represents a private key using an unspecified algorithm.
| FQN | Field | |
|---|---|---|
| crypto | 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