Why Nostr? What is Njump?
2023-06-04 21:49:17
in reply to

shafemtol on Nostr: What you could do is hash the shared secret curve point `S` (preferably using a ...

What you could do is hash the shared secret curve point `S` (preferably using a tagged hash function) into a shared private key `r`, then use the corresponding public key `R = r * G` for the `p` tag. This would not leak the actual shared secret.
Author Public Key
npub1mh94j7j7nwvzl7kwcg70fhxe67kdy50fccakmueq9jjf77zmc25svanahj