nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqguvn96f9xv0u2prr6n2wcgf7hsu2juz4zuvv34dz7al5wtkw245qq9t5ag (nprofile…t5ag) I woke up inspired and implemented this. At least a rudimentary first version. The plain text data (what gets encrypted, and output of decryption) is now an enum that is encoded with the postcard crate. That crate handles enum variants well.
https://app.radicle.xyz/nodes/radicle.liw.fi/rad:zbWNQYkQ4QKgdSQcd1tjaemv6d6x/tree/src/plaintext.rs