NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Generating random seed strings using cursor

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 07-03-2003, 08:13 AM THREAD STARTER               #1 (permalink)
First Time Poster!
Join Date: Jul 2003
Posts: 1
Ian Mainim is an unknown quantity at this point
 



Generating random seed strings using cursor


Hi,

I needed a javascript that could create random seed strings.
The script was to be used to ensure key integrity for a webb-based application.

I found one script that did this and more; some really nice features to
the script were that you could specify the chars. to be generated and
how long the string should be.

Then I found out that the javascript algoritm was flawed; the seed
string could (theoretically) be hacked (the string is encrypted by the
app). So I got an Idea: How about creating a script that generates
random seed strings based on how you move your mouse on the screen?

This method should generate a string that's impossible to 'hack'. Could
anybody help me with script? It should - apoligies for the feature list - do the following:
  • Create ONE random string based on how the user moves the cursor over the screen
  • Allow user to specify the length of the string.
  • Allow user to specify the set of chars. to be used in string. The
    chars. should be specified in a text field that already contains a-z and 0-9.
Here is a use case:
  1. User enters length of the seed to be generated. E.g. 256
  2. user types in chars. to be used in seed. E.g. 1234567890abcdefgh
  3. User hits the "Generate seed!" button
  4. The script generates chars til the specified seed length is meet. The
    string is automatically inserted in a textarea.
  5. The script informs the user that the seed has been generated using a window

Scripts of interest
Here are two javascripts that may be used in order to create this script:
Random Password Generator and JavaScript Capture Mouse.

I'm truly grateful for your help!
????: NamePros.com http://www.namepros.com/programming/14947-generating-random-seed-strings-using-cursor.html
Again, sorry for this shamelessly detailed request.
Ian Mainim is offline  
Old 07-03-2003, 12:14 PM   #2 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



Hey I probably woulnd't be much help with the JavaScript since I'm no good at it, but I'm just curious what is it actually going to be used for? Just wondering what purpouse it's going to serve?
deadserious is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 09:46 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger