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