欢迎来到天天文库
浏览记录
ID:20829755
大小:902.50 KB
页数:34页
时间:2018-10-16
《第12章 Hash和MAC算法》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、第12章消息认证码MessageAuthenticationmessageauthenticationisconcernedwithprotectingtheintegrityofamessagevalidatingidentityoforiginatornon-repudiationoforigin(disputeresolution)willconsiderthesecurityrequirementsthenthreealternativefunctionsusedmessageencryptionhashfunct
2、ionmessageauthenticationcode(MAC)SecurityRequirementsdisclosuretrafficanalysismasqueradecontentmodificationsequencemodificationtimingmodificationsourcerepudiationdestinationrepudiationSymmetricMessageEncryptionencryptioncanalsoprovidesauthenticationifsymmetricencr
3、yptionisusedthen:receiverknowsendermusthavecreatedit,sinceonlysenderandreceiverknowkeyusedknowcontentcannothavebeenaltered,ifmessagehassuitablestructure,redundancyorachecksumtodetectanychangesPublic-KeyMessageEncryptionifpublic-keyencryptionisused:encryptionprovid
4、esnoconfidenceofsendersinceanyonepotentiallyknowspublic-keyhoweverifsendersignsmessageusingtheirprivate-keythenencryptswithrecipientspublickeyhavebothsecrecyandauthenticationagainneedtorecognizecorruptedmessagesbutatcostoftwopublic-keyusesonmessageHashandMACAlgori
5、thmsHashFunctionscondensearbitrarysizemessagetofixedsizebyprocessingmessageinblocksthroughsomecompressionfunctioneithercustomorblockcipherbasedMessageAuthenticationCode(MAC)fixedsizedauthenticatorforsomemessagetoprovideauthenticationformessagebyusingblockciphermod
6、eorhashfunctionMessageAuthenticationCode(MAC)generatedbyanalgorithmthatcreatesasmallfixed-sizedblockdependingonbothmessageandsomekeylikeencryptionthoughneednotbereversibleappendedtomessageasasignaturereceiverperformssamecomputationonmessageandchecksitmatchestheMAC
7、providesassurancethatmessageisunalteredandcomesfromsenderMessageAuthenticationCodeasmallfixed-sizedblockofdatageneratedfrommessage+secretkeyMAC=C(K,M)appendedtomessagewhensentMessageAuthenticationCodesasshowntheMACprovidesauthenticationcanalsouseencryptionforsecre
8、cygenerallyuseseparatekeysforeachcancomputeMACeitherbeforeorafterencryptionisgenerallyregardedasbetterdonebeforewhyuseaMAC?sometimesonlyauthenticationis
此文档下载收益归作者所有