Comment

Comment by technion

    createHash('SHA256').update(timestamp+data+index+previousHash).
I always worry about the security impact of serializing like this.

If my data was "10" and the index was "110", can I just claim the data was "101" and the index was "10" and have the blockchain assert my statement is correct?

Or in other words, can I claim to own 91 more dollars than I should?

parent technion 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton