News for hackers. Stuff that matters.
Re:Show HN: Interactive implementation of the NIST Blockchai... by aeijdenberg on Monday November 05, 2018 @03:23AM (#18380731)
Not quite as simple as a cryptographic hash alone - remember that if the set of possible inputs can be easily enumerated, then it's trivial to find the input data by brute force.

There are ways to work around this, for example objecthash[0] describes a small modification that prepends the input data with 32 bytes of random data before hashing in order to prevent this.

[0] https://github.com/benlaurie/objecthash#redactability

Re:Show HN: Interactive implementation of the NIST Blockchai... by randaouser on Thursday November 08, 2018 @12:00AM (#18404414)
yes precisely, you must include a random value that remains secret until the appropriate reveal time.