Ludus Lab · Complex things made simple through games
The Key Generation Center (CVK) is a simulator of cryptographic key generation based on user entropy. Unlike algorithmic generators, it uses unpredictable cursor movement to create truly random sequences.
The system collects three sources of entropy: the cursor's X coordinate, its Y coordinate, and the current time in milliseconds. The more chaotic the mouse movement, the higher the quality of the entropy.
For each of the three values, the system determines whether it is odd (parity = 1) or even (parity = 0).
Examples: X=125 → odd → 1; Y=84 → even → 0; Time=1623456789 → odd → 1
The three parity bits (X, Y, time) are added modulo 2 (the XOR operation).
XOR works as follows: the result is 1 if the number of ones (odd values) is odd.
The result of the XOR operation becomes one bit of the future cryptographic key. This operation repeats for each new cursor position at fixed time intervals.
Bits are sequentially collected into key cells. Once enough bits have been gathered (16 in this simulation), the full cryptographic key is formed.
A key generated this way has high cryptographic strength, since it cannot be predicted without knowing the exact cursor trajectory and the timing of each sample.
Practical use: Methods like this are used in systems that require a high degree of randomness — cryptographic protocols, session key generation, initialization vectors in encryption.
Master key generated successfully:
You can copy it for later use.