github.com/gotd/td/internal/mtproto.Cipher.Encrypt (method)

2 uses

	github.com/gotd/td/internal/mtproto (current package)
		conn.go#L44: 	Encrypt(key crypto.AuthKey, data crypto.EncryptedMessageData, b *bin.Buffer) error
		new_encrypted_msg.go#L63: 	if err := c.cipher.Encrypt(s.Key, d, b); err != nil {