Ze Ace's Tech Spot

Thursday, January 11, 2007

A perfect random number generator

A lot of computer security folk spend their time trying to generate truly random numbers. Most random numbers in a computer are just a really complex math equation run multiple times. The results look random, but if you know the equation you can guess the next number by doing nothing more than running the equation again.

Random numbers are used all the time to generate keys to keep things secret. Obviously banks and other businesses can't have keys that people can easily guess by stealing an equation. Modern cryptographers have added all sorts of tricks to make their number more random. They can measure how fast you type and add it to how often you move the mouse and multiply that by the speed the CD-ROM is spinning. These add a lot of randomness, but none is truly random. Some companies have gone as far as using radioactive decay (a fundamentally random process) to avoid these problems.

I have a much simpler solution. Try adding the current NASDAQ or DOW to you random number. If the hacker manages to find a way to predict your random numbers now, steal his equation and use it to make millions because he just figured out how to predict the stock market! :)

3 Comments:

  • Ok, so this sounds nice, but it's a complete failure as far a generating a random number. You wouldn't have to create an equation to predict the future NASDAQ or DOW, just check to see what it was at the time you generated the number.

    Keep trying.

    By Blogger Checkers, at 1/11/2007 12:17 PM  

  • HA GENIUS!
    jmkogut, really it's genius, 'cause the Dow and the Nasdaq are ever changing. You can look at it at one minute and it can be sometime else in the next, so therefore, your theory is wrong. so keep trying.

    By Blogger TweedleDea, at 1/18/2007 3:18 PM  

  • I've got yer perfect random number generator right here:
    http://random.irb.hr/

    No, really... "Quantum random bit generator service". Pretty sweet.

    By Blogger Wallageeks, at 7/20/2007 11:42 AM  

Post a Comment

<< Home