- 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:
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
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.
- User enters length of the seed to be generated. E.g. 256
- user types in chars. to be used in seed. E.g. 1234567890abcdefgh
- User hits the "Generate seed!" button
- The script generates chars til the specified seed length is meet. The
string is automatically inserted in a textarea. - 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














