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)
![]() |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |