首页 > 编程知识 正文

数据结构与算法分析 c语言描述pdf,c语言网站用户加密算法

时间:2023-05-06 02:32:15 阅读:169693 作者:3299

摘要

详细阐述了算法中s盒的结构,给出了用其C语言实现的程序代码。 s盒由有限域gf(28 )上所有元素的乘法逆元和域gf )上的仿射变换组成,经过s盒的非线性字节置换,使密文的差分均匀性和线性偏差达到理想状态,提高了A E S算法对差分密码分析和线性密码分析的抵抗力。 n个循环的加密过程都是对状态矩阵中的字节求有限域GF[28]上的乘法逆元和GF[2]上的仿射变换,但由于它们需要多次进行运算量大的非线性字节变换操作,所以用一定的算法首先求出GF[28]

thepaperdescribeddetailedlytheconstructionofsboxinaesandgaveitssourceprogramcodeofclanguage.thesboxwasconstitutedwiththemult finedtransformationingf(2) ofallelementsoflimitedfieldgf ) 28、 with s box ' s nonlinear byte changed cipheredtextattainedtheidealstatusoftheevenofdifferenceandthelinearofdeviation、 andincreasedthecapabilityoftheaesalgorithmofantibeatingthedifferencecipherofanalysis.inaesalgorithm ceduremustcomputethemultiplicationinverseelementinlimitedfieldgf (28 ) and affined transformation in gf (2to the byte of the sthe matus matus ) andtheseallneededtousemanytimesthebigquantitytransformoperationofnonlinearbyte,for this,throughthecertainalgorithmtocalcalcalcalculllate andaffinedtransformationformingthegenerationchangestabletobytegenerationchanges,it's S box, thenthroughthemethodofthelookingtabletofinishthebytegenerationchangesofencryptproceed,therebyshortenedtheeeenciphertimeoftimeofthethemeofthethemetheophethimeorathed

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。