type github.com/gotd/td/crypto.AuthKey
37 uses
github.com/gotd/td/crypto (current package)
bind.go#L104: func EncryptBindMessage(rand io.Reader, permKey AuthKey, msgID int64, inner *BindAuthKeyInner) ([]byte, error) {
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#L33: func (c Cipher) encryptMessage(k AuthKey, plaintext *bin.Buffer) (EncryptedMessage, error) {
cipher_encrypt.go#L61: 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#L130: func (a AuthKey) LogAttr() log.Attr {
github.com/gotd/td/exchange
client.go#L29: AuthKey crypto.AuthKey
client_flow.go#L282: AuthKey: crypto.AuthKey{Value: key, ID: authKeyID},
server.go#L24: Key crypto.AuthKey
github.com/gotd/td/mtproto
bind.go#L207: c.authKey = crypto.AuthKey{}
bind.go#L208: c.permKey = crypto.AuthKey{}
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
conn.go#L73: permKey crypto.AuthKey
conn.go#L172: conn.authKey = crypto.AuthKey{}
options.go#L74: Key crypto.AuthKey
options.go#L76: PermKey crypto.AuthKey
session.go#L8: Key crypto.AuthKey
session.go#L11: PermKey crypto.AuthKey
github.com/gotd/td/pool
session.go#L13: AuthKey crypto.AuthKey
session.go#L41: s.data.AuthKey = crypto.AuthKey{}
session.go#L57: opts.Key = crypto.AuthKey{}
github.com/gotd/td/telegram
session.go#L38: var key crypto.AuthKey
 |
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. |