docs: apdu.md
- [Provide](#provide)
- [PROVIDE ERC 20 TOKEN INFORMATION](#provide-erc-20-token-information)
- [PROVIDE NFT INFORMATION](#provide-nft-information)
+ - [PERFORM PRIVACY OPERATION](#perform-privacy-operation)
<br/>
<br/>
|[SET EXTERNAL PLUGIN](#set-external-plugin)|0x12|
|[PROVIDE NFT INFORMATION](#provide-nft-information)|0x14|
|[SET PLUGIN](#set-plugin)|0x16|
+|[PERFORM PRIVACY OPERATION](#perform-privacy-operation)|0x18|
<br/>
<br/>
@@ -564,6 +566,44 @@ None
<br/>
<br/>
+## PERFORM PRIVACY OPERATION
+
+<details>
+
+<summary>Description </summary>
+
+This command performs privacy operations as defined in EIP 1024 (https://ethereum-magicians.org/t/eip-1024-cross-client-encrypt-decrypt/505)
+
+It can return the public encryption key on Curve25519 for a given Ethereum account or the shared secret (generated by the scalar multiplication of the remote public key by the account private key on Curve25519) used to decrypt private data encrypted for a given Ethereum account
+
+All data can be optionally checked on the device before being returned.
+|CLA|INS|P1|P2|Lc|Le|
+|---|---|--|--|--|--|
+|E0|18|00 : return data | 00 : return the public encryption key|variable|variable|
+| | |01 : display data and confirm before returning | 01 : return the shared secret| | |
+
+:inbox_tray: input data
+
+|Description|Length|
+|-----------|------|
+|Number of BIP 32 derivations to perform (max 10)|1|
+|First derivation index (big endian)|4|
+|...|4|
+|Last derivation index (big endian)|4|
+|Third party public key on Curve25519, if returning the shared secret|32|
+
+:outbox_tray: output data
+
+|Description|Length|
+|-----------|------|
+|Public encryption key or shared secret|32|
+
+</details>
+
+<br/>
+<br/>
+<br/>
+
[//]: # (## Command name)
[//]: # ()
[//]: # (<details>)
