New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cracked solution may be wrong #1
Comments
|
Since xoroshiro128+ is implemented in C (64-bits variable), Without the mask, it might fail Python try clause by mistake. P.S. you might want to rename xorshift.py as xoroshiro.py |
|
I don't think you have shown that the solutions are wrong. You have argued, correctly, that there may be more than one solution. That is correct and I have modified the README file to make this point clear.
I don't see this... if you think that there is a bug in the Python script, please provide a failing example. |
|
A possible seed is not the same as "cracking" PRNG, which imply we can predict the sequence. A simple fix is to solve for all possible seeds: Without mask FAILING example: random sequence = 0, 0xdeadbeef With mask, we get unique seed, thus correct prediction. |
|
Thank you |
|
Great. Merged your script with credit. |
2 xoroshiro128+ random 64-bits numbers are not enough to produce a unqiue state.
It is possible your script will solve for the wrong state, i.e. wrong prediction.
Example: random sequence = 0xdfd1045768598cde , 0x86eae8a4b518de64, ...
There are 3 solutions:
state = 0x2369b5a08e5846c1 , 0xbc674eb6da01461d
state = 0x5a0b43baa54eccbb , 0x85c5c09cc30ac023
state = 0xdeadbeefdeadbeef , 0x123456789abcdef
The text was updated successfully, but these errors were encountered: