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[:]