Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
imaginenore
· 9y ago · 0 comments
Can you crack this PRNG without knowing the seed?
f(1) = 1 // seed f(n) = sha512(f(n-1) . f(1))
Comments
[–]
mdpopescu
9y ago
This is similar to Yarrow / Fortuna (internal state is a counter, output is the hash of the state) so I'm guessing it's not breakable, at least not trivially.
[–]
sdevlin
9y ago
I guess it depends what you mean by “crack”. Given f(1), which I assume is public, you can predict all future outputs.
[–]
imaginenore
OP
9y ago
I said without knowing the seed, so f(1) is not public, only f(n) formula is.
[–]
benchaney
9y ago
f(1) is the first batch of output.
[–]
IshKebab
9y ago
That is not what we mean by "crack". Read the article.