Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you think that the technique of using the last 4 bits to choose a further pseudorandom 31 bits from the rest of the hash MIGHT mitigate SOME future weakness as a PRNG? Or do you have confidence it is completely useless? Or neither, of course.


I think it's weird. Either you trust your output to be pseudorandom or you don't. These weird hacks may be fine, but they feel like adding "safety" duct tape onto the wings of a passenger jet.


Not sure if you are aware of speed tape https://en.m.wikipedia.org/wiki/Speed_tape

Passenger jets can fly with duct tape on their wings


I meant it more as a "this should hold the wings on just in case they're not well fastened" kind of analogy.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: