Skip to content

Comment on On cryptography and dogmasparent

Comments

"That said, but nesting sha1 calls you are reducing the size of the output set at each step"

I don't think so otherwise finding collisions would be trivial. What you do when using nested SHA1 is just to run a cryptographically secure PRNG with a 160 bit internal state.

The in-depth security means you design your system so that it doesn't fall apart if only one of the pieces fall.

As for your comment on the PRNG, it's actually not a very good design. You would rather use a cipher in stream mode which is indeed fed from a hash, because the cipher will have a better and more predictable behaviour over time.

I however don't understand why people were repeating bcrypt as a mantra on your git pull.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.