What is Nostr?
shafemtol /
npub1mh9…nahj
2023-06-04 21:49:17
in reply to nevent1q…pk5c

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