I wrote a rough implementation draft: GitHub - Sjors/descriptor-backup: Encrypt output descriptors and decrypt using any of its public keys
It’s in Ruby, though I might switch to Rust.
Update 2025/08/01: also vibe coded a bech32m encoding. It takes a descriptor as input and finds the xpubs for you.