Standard Library

GoCryptoSha1

Go stdlib package — crypto/sha1. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.New()Neutral
#
Signature
New() hash.Hash

New returns a new hash.Hash computing the SHA1 checksum. The Hash also

.Sum()Neutral
#
Signature
Sum(data []byte) [Size]byte

Sum returns the SHA-1 checksum of the data.

Fully-Qualified Names

FQNField
crypto/sha1fqns[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/sha1