Re:Google +1 tracks mouse movements?
by tectonic on Saturday July 23, 2011 @07:59PM
(#2798206)
According to the link, this is being used as a source of entropy to generate random numbers. Fascinating.
[ Parent
| on HN ]
Seems pretty reasonable to expect it to be this code from the apache shindig library:
http://svn.apache.org/repos/asf/shindig/trunk/features/src/m...
From the file: This code implements a safer random() method that is seeded from screen width/height and (presumably random/unguessable) mouse movement, in an effort to create a better seed for random().
Its aim is to solve the problem of gadgets that are relying on secret RPC tokens to validate identity.
Re:Google +1 tracks mouse movements?
by sebkomianos on Sunday July 24, 2011 @03:15PM
(#2800102)
Aren't there a lot of patterns on how we interact with an interface?
For example, most people on facebook move their pointers to check their notifications/new messages/friend requests. Wouldn't that produce a lot of "not so random" random numbers?
(I am not looking to start a conversation on how random random numbers are, just curious on why they used this specific technique)
Hah!
That's so simple, yet so brilliant.
Mouse movements have been long used as a source of entropy in desktop applications.
Indeed. Putty's keygen thing has been using it for quite a long time for example
Re:Google +1 tracks mouse movements?
by snippyhollow on Sunday July 24, 2011 @10:15AM
(#2799408)
/dev/random too :) http://www.mail-archive.com/[email protected]/msg01708.htm...