type github.com/gotd/td/internal/crypto.Cipher (struct)

Method Implmentations (4 other methods implement nothing)

DecryptFromBuffer(k AuthKey, buf *bin.Buffer) (*EncryptedMessageData, error) Cipher.M : github.com/gotd/td/internal/mtproto.Cipher.DecryptFromBuffer
Encrypt(key AuthKey, data EncryptedMessageData, b *bin.Buffer) error Cipher.M : github.com/gotd/td/internal/mtproto.Cipher.Encrypt