func github.com/gotd/td/crypto.SHA256

7 uses

	github.com/gotd/td/crypto (current package)
		sha256.go#L10: func SHA256(from ...[]byte) []byte {

	github.com/gotd/td/mtproxy/obfuscated2
		keys.go#L36: 		encryptKey = crypto.SHA256(encryptKey, secret)
		keys.go#L37: 		decryptKey = crypto.SHA256(decryptKey, secret)

	github.com/gotd/td/telegram/downloader
		cdn_verify.go#L204: 		if !bytes.Equal(crypto.SHA256(full.data), hash.Hash) {
		cdn_verify.go#L256: 			if !bytes.Equal(crypto.SHA256(data[from:to]), hash.Hash) {
		cdn_verify.go#L268: 			if !bytes.Equal(crypto.SHA256(data[from:]), hash.Hash) {
		verifier.go#L123: 	return bytes.Equal(crypto.SHA256(data), hash.Hash)