ThisApplicationNotecoversfourencryption

algorithms:AES,XTEA,SKIPJACK

®

andasimple

encryptionalgorithmusingapseudo-randombinary

sequencegenerator.Thescienceofcryptography

datesbacktoancientEgypt.Intoday’seraofinforma-

tiontechnologywheredataiswidelyaccessible,

sensitivematerial,especiallyelectronicdata,needsto

beencryptedfortheuser’sprotection.Forexample,a

network-basedcardentrydoorsystemthatlogsthe

personswhohaveenteredthebuildingmaybesuscep-

tibletoanattackwheretheuserinformationcanbe

stolenormanipulatedbysniffingorspoofingthelink

betweentheprocessorandthememorystorage

device.Iftheinformationisencryptedfirst,ithasa

betterchanceofremainingsecure.Manyencryption

algorithmsprovideprotectionagainstsomeonereading

thehiddendata,aswellasprovidingprotectionagainst

tampering.Inmostalgorithms,thedecryptionprocess

willcausetheentireblockofinformationtobe

destroyedifthereisasinglebiterrorintheblockprior

todecryption.AN953DataEncryptionRoutinesforthePIC18Author:DavidFlowersENCRYPTIONMODULEOVERVIEWMicrochipTechnologyInc.Fouralgorithmstochoosefrom,eachwiththeirownbenefitsINTRODUCTIONAdvancedEncryptionStandard(AES)ThisApplicationNotecoversfourencryption-ModulesavailableinC,Assemblyandalgorithms:AES,XTEA,SKIPJACKandasimpleAssemblywrittenforCencryptionalgorithmusingapseudo-random

适用于PIC18数据加密例程

适用于PIC18数据加密例程