Replying to Avatar fiatjaf

I'm not sure I got the use case correctly, but if you hash the relay URL, turn that into a scalar and add the number to your private key you'll get a new private key.

The receiver can check who is the actual sender of that event by hashing the same relay URL, multiplying that with G and subtracting that from the pubkey that is written in the event.

Avatar
fiatjaf 2y ago

See https://gist.github.com/fiatjaf/586b55ca99d61e0655478f1abad1886e#file-relay-hash-key-tweak-js

Reply to this note

Please Login to reply.

Discussion

No replies yet.