Looking forward. Perhaps you can also use GitHub - joshdoman/descriptor-codec: Encode and decode Bitcoin wallet descriptors with a 30-40% size reduction from @josh to reduce the encrypted payload size a bit. That library itself could perhaps gain even more size reduction by checking for duplicate xpubs (followed by different derivation paths).