github.com/gotd/td/internal/crypto.AuthKey.ID (field)
13 uses
github.com/gotd/td/internal/crypto (current package)
cipher_decrypt.go#L67: if k.ID != encrypted.AuthKeyID {
cipher_encrypt.go#L29: AuthKeyID: k.ID,
key.go#L49: ID: k.ID(),
key.go#L56: ID [8]byte
key.go#L115: return int64(binary.LittleEndian.Uint64(a.ID[:]))
key.go#L120: binary.LittleEndian.PutUint64(a.ID[:], uint64(v))
key.go#L125: return fmt.Sprintf("Key(id: %x)", a.ID)
key.go#L130: encoder.AddString("id", hex.EncodeToString(a.ID[:]))
github.com/gotd/td/internal/exchange
client_flow.go#L262: AuthKey: crypto.AuthKey{Value: key, ID: authKeyID},
github.com/gotd/td/session
telethon.go#L79: id := key.WithID().ID
github.com/gotd/td/telegram
session.go#L39: copy(key.ID[:], data.AuthKeyID)
session.go#L41: if key.Value.ID() != key.ID {
session.go#L81: data.AuthKeyID = s.Key.ID[:]
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. |