Skip to content

[label:question] Instructions unclear #20

Open
@Iinksafe

Description

@Iinksafe

"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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions