0
我已經在C++中實現了2005年發佈的WEP攻擊的Mantin模型。爲了檢查實現是否正確,我正在從RC4 PRG生成2^48 IV和它們對應的第257個密鑰流字節。算法的複雜度是o(n)。基本上代碼的結構如下:mantin wep在C++中的實現
for(loop through n times){
for(loop through 3 times){}
for(loop through 256 times){ some code}
for(loop through 257 times){some code}
}
所以在放置n = 2^48時需要很長時間。是正常的還是我錯過了什麼?我正在使用英特爾i3處理器。