所以,我几个月来一直在打破这个问题的障碍,部分原因是因为这是一个副作用,部分是因为我很喜欢编程.我在网上搜索和研究过,但没有任何运气(除了一点点成功;见下文),所以我想我可能会尝试询问专家.
正如标题所示,我想要做的是根据"事实上的"标准从密码短语中生成一个40/64位的WEP密钥.(诸如http://www.powerdog.com/wepkey.cgi之类的站点产生预期的输出.)我已经编写了部分脚本来获取输入并将它们写入文件; 其中一个输入是密码,清理为小写.
For the longest time I had no idea what the defacto standard was, much less how to even go about implementing it. I finally stumbled across a paper (http://www.lava.net/~newsham/wlan/WEP_password_cracker.pdf) that sheds as much light as I've had yet on the issue (page 18 has the relevant bits). Apparently, the passphrase is "mapped to a 32-bit value with XOR," the result of which is then used as the seed for a "linear congruential PRNG …