Dynadot โ€” .com Transfer

Generating random seed strings using cursor

SpaceshipSpaceship
Watch
Impact
0
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! :)
Again, sorry for this shamelessly detailed request. :o
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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?
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back