Why Nostr? What is Njump?
2023-03-08 19:39:37

lucash.dev on Nostr: Some cryptographic structures are so simple to implement — and so often implemented ...

Some cryptographic structures are so simple to implement — and so often implemented in very specialized ways — that you might not be worse off just writing one yourself.

I don’t recommend ever reusing a Merkle Tree implementation outside of its narrow original use case — unless you thoroughly review the implementation.

Most Merkle Tree implementations I’ve seen are either broken or one tiny change or assumption away from being completely broken.

Bitcoin’s implementation is a famous case.

But there are others.

Seen plenty of vulnerabilities in the wild.

Every novel use case for cryptography is dangerous.

Don’t assume yours is safe just because you copied it’s parts from someone else.
Author Public Key
npub1sttsl959a2lvyufqrwkdrlqeg85ks65m72mgdsup5kmx9asqq2csaw67hq