func crypto/sha1.Sum
12 uses
crypto/sha1 (current package)
sha1.go#L256: func Sum(data []byte) [Size]byte {
crypto/x509
x509.go#L1595: h := sha1.Sum(publicKeyBytes)
github.com/gotd/td/internal/crypto
data_with_hash.go#L25: h := sha1.Sum(data) // #nosec
data_with_hash.go#L48: h := sha1.Sum(data) // #nosec
exchange.go#L71: h := sha1.Sum(v) // #nosec
key.go#L31: raw := sha1.Sum(k[:]) // #nosec
key.go#L39: raw := sha1.Sum(k[:]) // #nosec
rsa_hashed.go#L27: h := sha1.Sum(data) // #nosec
rsa_hashed.go#L53: h := sha1.Sum(data) // #nosec
temp_keys.go#L14: h := sha1.Sum(buf) // #nosec
github.com/gotd/td/session/tdesktop
local_key.go#L65: if h := sha1.Sum(decrypted); !bytes.Equal(h[:16], msgKey[:]) /* #nosec G401 */ {
local_key.go#L78: h := sha1.Sum(decrypted) // #nosec G401
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |