Why Nostr? What is Njump?
2024-05-25 16:52:15
in reply to

ManiMe on Nostr: It’s a one way hash. Verifying an event involves taking the entire event json ...

It’s a one way hash. Verifying an event involves taking the entire event json (minus signature and id) as received and running it through the hashing algo with the npub. If the output hash is the same as event id, then these are run through another algo to match with the signature.

https://github.com/nbd-wtf/nostr-tools/blob/master/pure.ts
Author Public Key
npub1manlnflyzyjhgh970t8mmngrdytcp3jrmaa66u846ggg7t20cgqqvyn9tn