Here is the X25519 example, this time with intermediate serde.
Illustrates how one might pass the encryption envelope across service boundaries.
Effectful X25519 encryption.
Create a keypair.
Encrypt with the public key
Decrypt with the private key.
@CrosshatchDev