func crypto/sha1.Sum

13 uses

	crypto/sha1 (current package)
		sha1.go#L273: func Sum(data []byte) [Size]byte {

	crypto/x509
		x509.go#L1755: 			h := sha1.Sum(publicKeyBytes)

	github.com/gotd/td/crypto
		data_with_hash.go#L25: 		h := sha1.Sum(data) // #nosec
		data_with_hash.go#L48: 	h := sha1.Sum(data) // #nosec
		exchange.go#L70: 	h := sha1.Sum(v) // #nosec
		kdf_v1.go#L13: 	sum := sha1.Sum(plaintext) // #nosec G401
		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#L66: 	if h := sha1.Sum(decrypted); !bytes.Equal(h[:16], msgKey[:]) /* #nosec G401 */ {
		local_key.go#L79: 	h := sha1.Sum(decrypted) // #nosec G401