Perl is very helpful for the programmer , but that can be an impediment when implementing bit - oriented algorithms Perl對程序員來說非常有用,但是它并不擅長處理面向比特的算法。
Obviously rc6 is not square - like cipher . square attack can only attack few rounds of rc6 , because the data - rotations of rc6 affact the rules of propagation for active and passive words , which makes square attack ineffective . we analyse the square attack against serpent which is bit - oriented cipher , and the result shows that square attack on serpent is weak , because the bit - oriented linear operations interrupt the rules of propagation for active and passive multiset 我們將square攻擊應(yīng)用于rc6密碼,發(fā)現(xiàn)square攻擊只能攻擊少數(shù)幾輪rc6 ,這主要是因?yàn)閞c6的數(shù)據(jù)依賴循環(huán)運(yùn)算打亂了活動字節(jié)和固定字節(jié)的傳播路徑,使得攻擊無法進(jìn)行。我們分析了對serpent密碼的square攻擊, serpent密碼的按比特線性混合運(yùn)算打亂了所構(gòu)造multiset的傳播路徑,使得攻擊只能進(jìn)行到3輪serpent密碼。