/ Published in: JavaScript
If you wanted to generate something based on a fixed string input, there are methods for doing that as well... this should give you what you are looking for in terms of just a straight random hex string of the correct length.
URL: http://stackoverflow.com/questions/5398737/how-can-i-make-a-simple-wep-key-generator-in-javascript