Skip to content

[label:question] Instructions unclear #20

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

Open
Iinksafe opened this issue Apr 13, 2025 · 1 comment
Open

[label:question] Instructions unclear #20

Iinksafe opened this issue Apr 13, 2025 · 1 comment

Comments

@Iinksafe
Copy link

"It is important to feed cracker exactly 32-bit integers generated by the generator due to the fact that they will be generated anyway, but dropped if you don't request for them. As well, you must feed the cracker exactly after new seed is presented, or after 624*32 bits are generated since every 624 32-bit numbers generator shifts it's state and cracker is designed to be fed from the begining of some state."

Can someone explain in detail this line? I'm afraid I misinterpreted it.

"It is important to feed cracker exactly 32-bit integers generated by the generator due to the fact that they will be generated anyway, but dropped if you don't request for them."

That means I can't do (or I shouldn't do) the following: RandCrack.submit(random.getrandbits(16)) or RandCrack.submit(random.getrandbits(64)).

"As well, you must feed the cracker exactly after new seed is presented, or after 624*32 bits are generated since every 624 32-bit numbers generator shifts it's state and cracker is designed to be fed from the begining of some state."

So if I call, e.g., random.randint(0, 1234) 624 times, does the module resubmit 32-bit integers 624 times or do I need to do that again, in order to maintain prediction accuracy?

@Iinksafe
Copy link
Author

Would love to mark this post as a question (as in, the label) but I'm unsure how to do that.

@Iinksafe Iinksafe changed the title [label:question] [label:question] Instructions unclear Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant