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

You don't know what the starting internal state of the RNG is, so no you can't predict it. The starting internal state being secret is what gives PRGs their security.


Crypto PRNGs are secure as long as their internal state is secret.

Normal RNGs are not however. A common RNG under Unix used to cycle between even / odd every other number.


> You don't know what the starting internal state of the RNG is, so no you can't predict it.

You don't need to know that. All you need to know is that it is identical to the previous run.


> You don't know what the starting internal state of the RNG is

Unless you give it a seed manually, of course. Say, 42?




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

Search: