type github.com/gotd/td/internal/crypto.AuthKey
29 uses
github.com/gotd/td/internal/crypto (current package)
cipher_decrypt.go#L14: func (c Cipher) DecryptFromBuffer(k AuthKey, buf *bin.Buffer) (*EncryptedMessageData, error) {
cipher_decrypt.go#L26: func (c Cipher) Decrypt(k AuthKey, encrypted *EncryptedMessage) (*EncryptedMessageData, error) {
cipher_decrypt.go#L66: func (c Cipher) decryptMessage(k AuthKey, encrypted *EncryptedMessage) ([]byte, error) {
cipher_encrypt.go#L15: func (c Cipher) encryptMessage(k AuthKey, plaintext *bin.Buffer) (EncryptedMessage, error) {
cipher_encrypt.go#L38: func (c Cipher) Encrypt(key AuthKey, data EncryptedMessageData, b *bin.Buffer) error {
key.go#L46: func (k Key) WithID() AuthKey {
key.go#L47: return AuthKey{
key.go#L54: type AuthKey struct {
key.go#L60: func (a *AuthKey) DecodeJSON(d *jx.Decoder) error {
key.go#L84: func (a *AuthKey) UnmarshalJSON(data []byte) error {
key.go#L89: func (a AuthKey) EncodeJSON(e *jx.Encoder) error {
key.go#L100: func (a AuthKey) MarshalJSON() ([]byte, error) {
key.go#L109: func (a AuthKey) Zero() bool {
key.go#L110: return a == AuthKey{}
key.go#L114: func (a AuthKey) IntID() int64 {
key.go#L119: func (a *AuthKey) SetIntID(v int64) {
key.go#L124: func (a AuthKey) String() string {
key.go#L129: func (a AuthKey) MarshalLogObject(encoder zapcore.ObjectEncoder) error {
github.com/gotd/td/internal/exchange
client.go#L23: AuthKey crypto.AuthKey
client_flow.go#L262: AuthKey: crypto.AuthKey{Value: key, ID: authKeyID},
server.go#L24: Key crypto.AuthKey
github.com/gotd/td/internal/mtproto
conn.go#L43: DecryptFromBuffer(k crypto.AuthKey, buf *bin.Buffer) (*crypto.EncryptedMessageData, error)
conn.go#L44: Encrypt(key crypto.AuthKey, data crypto.EncryptedMessageData, b *bin.Buffer) error
conn.go#L72: authKey crypto.AuthKey
options.go#L73: Key crypto.AuthKey
session.go#L8: Key crypto.AuthKey
github.com/gotd/td/internal/pool
session.go#L13: AuthKey crypto.AuthKey
session.go#L41: s.data.AuthKey = crypto.AuthKey{}
github.com/gotd/td/telegram
session.go#L37: var key crypto.AuthKey
|
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. |