Can anyone explain what this is doing?

Rubycon

Madame President
Aug 10, 2005
17,768
485
126
Text

What is it doing exactly?

You REALLY have to keep the mouse moving or the progress just won't move over. :|

I moved this to security as it seemed the more appropirate place.
Anandtech Moderator - bsobel

 

Joemonkey

Diamond Member
Mar 3, 2001
8,859
4
0
probably taking the X and Y coordinates of your moving the mouse and creating the encryption key based on it. Unless you had a robot moving the exacty same model of mouse on the exact same computer over and over it would be pretty difficult to match the exact same movements you made.
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Encryption routines need a key, the best keys are as close to random data as possible. Threir are very few ways for a computer to generate truely random data, so the program is using your series of mouse moves to best create a series of random inputs.
 

Rubycon

Madame President
Aug 10, 2005
17,768
485
126
Originally posted by: bsobel
Encryption routines need a key, the best keys are as close to random data as possible. Threir are very few ways for a computer to generate truely random data, so the program is using your series of mouse moves to best create a series of random inputs.

So this is like a hash?

I hear you on the randomness. With moving the mouse (here) it's not going to get any (more) random - for sure! :Q
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Originally posted by: Rubycon
Originally posted by: bsobel
Encryption routines need a key, the best keys are as close to random data as possible. Threir are very few ways for a computer to generate truely random data, so the program is using your series of mouse moves to best create a series of random inputs.

So this is like a hash?
I hear you on the randomness. With moving the mouse (here) it's not going to get any (more) random - for sure! :Q

Not a hash, just a source of random data so the software can build an encryption key.
 

Zugzwang152

Lifer
Oct 30, 2001
12,134
1
0
bsobel and Joemonkey are correct.

Without randomness built in, the key you generate can be much more easily discovered. It's probably measuring the X,Y coordinates of your movements and supplementing that with time data between the recording of each pair.

Consider what would happen without the random generator. The application would have an algorithm to calculate a key based solely on the information in the computer. A common piece of data it might use is a timestamp. An attacker could use social engineering or malware to discover what program you used to create the key, and reverse engineer it to discover how the key was created. It then becomes a simple brute force on a much smaller subset of possible keys.

Add in the randomness factor, and the integrity of your key is maintained even if the attacker knows what program you used.

So this is like a hash?

Nope. I see what you're thinking though. A hash is not random because you can easily reproduce it by putting the same inputs through the hashing algorithm.

For example, hashing "blahblah" through hasing algorithm XYZ results in "1234".

Wait a week, then hash "blahblah" through XYZ again, and you'll get "1234" again.

However, run your encryption program today and move your mouse around. The program generates some data.

Wait a week, and run it again. Your program will generate much different data, even IF you could copy your exact mouse movements over again.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Wait a week, and run it again. Your program will generate much different data, even IF you could copy your exact mouse movements over again.

That's assuming the encryption program doesn't suck. =)