欢迎来到天天文库
浏览记录
ID:9203275
大小:231.00 KB
页数:16页
时间:2018-04-22
《keep your data secure with the new advanced encryption standard》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、■C:AESAe^DemoCon»olebinDebuQAe^DemoC〇€ift〇le^HeENCRYPTITKeepYourDataSecurewiththeNewAdvancedEncryptionStandardJamesMcCaffreyThisarticleassumesyou'refamiliarwithC#andbitmanipulationLevelofDiffiult123Downloadthecodeforthisarticle:AES.exe(143KB)SUMMARYTheAdvancedEncryptionStandard(AE
2、S)isaNationalInstituteofStandardsandTechnologyspecificationfortheencryptionofelectronicdata.Itisexpectedtobecometheacceptedmeansofencryptingdigitalinformation,includingfinancial,telecommunications,andgovernmentdata.ThisarticlepresentsanoverviewofAESandexplainsthealgorithmsituses.Includ
3、edisacompleteC#implementationandexamplesofencrypting.NETdata.AfterreadingthisarticleyouwillbeabletoencryptdatausingAES,testAES-basedsoftware,anduseAESencryptioninyoursystems.heNationalInstituteofStandardsandTechnology(NIST)establishedthenewAdvancedEncryptionStandard(AES)specificationon
4、May26,2002.InthisarticleIwillprovideaworkingimplementationofAESwritteninC#,andacompleteexplanationofexactlywhatAESisandhowthecodeworks.I'llshowyouhowtoencryptdatausingAESandextendthecodegivenheretodevelopacommercial-qualityAESclass.I'llalsoexplainhowandwhytoincorporateAESencryptioninto
5、yoursoftwaresystems,andhowtotestAES-basedsoftware.NotethatthecodepresentedinthisarticleandanyotherimplementationbasedonthisarticleissubjecttoapplicableFederalcryptographicmoduleexportcontrols(seeCommercialEncryptionExportControlsfortheexactregulations).AESisanewcryptographicalgorithmth
6、atcanbeusedtoprotectelectronicdata.Specifically,AESisaniterative,symmetric-keyblockcipherthatcanusekeysof128,192,and256bits,andencryptsanddecryptsdatainblocksof128bits(16bytes).Unlikepublic-keyciphers,whichuseapairofkeys,symmetric-keyciphersusethesamekeytoencryptanddecryptdata.Encrypte
7、ddatareturnedbyblockciphershavethesamenumberofbitsthattheinputdatahad.Iterativeciphersusealoopstructurethatrepeatedlyperformspermutationsandsubstitutionsoftheinputdata.Figure1showsAESinactionencryptingandthendecryptinga16-byteblockofdatausinga192-bitkey.■C:AESAe^DemoCon»olebinDeb
此文档下载收益归作者所有