已阅读5页,还剩40页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
第1页外文文献资料InternationalJournalofNetworkSecurity&ItsApplications(IJNSA),Vol.4,No.2,March2012DOI:10.5121/ijnsa.2012.420795DESIGNANDANALYSISOFANOVELDIGITALIMAGEENCRYPTIONSCHEMENarendraKPareekUniversityComputerCentre,VigyanBhawan,MLSukhadiaUniversity,Udaipur-313001,IABSTRACTInthispaper,anewimageencryptionschemeusingasecretkeyof144-bitsisproposed.Inthesubstitutionprocessofthescheme,imageisdividedintoblocksandsubsequentlyintocolorcomponents.Eachcolorcomponentismodifiedbyperformingbitwiseoperationwhichdependsonsecretkeyaswellasafewmostsignificantbitsofitspreviousandnextcolorcomponent.Threeroundsaretakentocompletesubstitutionprocess.Tomakeciphermorerobust,afeedbackmechanismisalsoappliedbymodifyingusedsecretkeyafterencryptingeachblock.Further,resultantimageispartitionedintoseveralkeybaseddynamicsub-images.Eachsub-imagepassesthroughthescramblingprocesswherepixelsofsub-imagearereshuffledwithinitselfbyusingageneratedmagicsquarematrix.Fiveroundsaretakenforscramblingprocess.Theproposeschemeissimple,fastandsensitivetothesecretkey.Duetohighorderofsubstitutionandpermutation,commonattackslikelinearanddifferentialcryptanalysisareinfeasible.The第2页experimentalresultsshowthattheproposedencryptiontechniqueisefficientandhashighsecurityfeatures.KEYWORDSEncryption,Secretkey,Substitution,Scrambling,Security,Imagecipher.1.INTRODUCTIONWiththerapidgrowthofcomputernetworksandadvancesininformationtechnology,ahugeamountofdigitaldataisbeingexchangedoverunsecuredchannels.Majorpartoftransmittedinformation,eitherconfidentialorprivate,demandsforsecuritymechanismstoproviderequiredprotection.Therefore,securityhasbecomeanimportantissueduringthestoringandtransmissionofdigitaldata.Thesecurityofimagesisanapplicationlayertechnologytoguardthetransmittedinformationagainstunwanteddisclosureaswellastoprotectthedatafrommodificationwhileintransit.Itincludesseveralaspectslikecopyrightprotection,authentication,confidentialityandaccesscontrol.Itisarguedthattraditionalencryptionalgorithmsarenotpreferableforimageencryptionfortworeasons.Oneisthattheimagesizeisalwaysmorethantextsize.Therefore,traditionalcryptosystemstakelongertimetoencrypttheimagedata.Theotheristhatthesizeofdecryptedtextmustbeequaltotheoriginaltextsize.However,thisrequirementisnotnecessaryforimagedata.Duetothecharacteristicofhumanperception,asmalldistortionindecryptedimageisusuallyacceptable.Threedifferentwaystoprotectdigitaldatafromunauthorizedeavesdroppingarecryptography,steganographyandwatermarking.Amongthesethreetechniques,cryptographyhasbecomeoneofthemajortoolstoprovidehighlevelofsecurity.Cryptographydealswiththedevelopmentoftechniquesforconvertinginformationbetweenintelligibleandunintelligibleforms.Itdealswiththecontentconfidentialityandaccesscontrol.Insecurecommunicationsusingcryptography,whichisthemainfocusofthepresentwork,theencryptionanddecryptionoperationsareguidedbyoneormorekeys.Techniquesthatuse第3页samesecretkeyforencryptionanddecryptionaregroupedunderprivatekeycryptography.Alternately,encryptionanddecryptionkeysaredifferentorcomputationallyitmaynotbefeasibletoderiveonekeyeventhoughtheknowledgeofotherkey,suchcryptographicmethodsareknownaspublickeycryptography.Thepresentworkfocusesonthedevelopmentofprivatekeyimagecryptographicalgorithmforprovidinghighlevelofsecurity1.1RelatedworkInordertoprotectdigitalimagesfromunauthorizedusersdoingillegalreproductionandmodifications,avarietyofimageencryptionschemeshavebeenproposed.Thevariousideasusedintheexistingimageencryptiontechniquescanbeclassifiedintothreemajorcategories:positionpermutation1,2,7,10,valuetransformation3,4,8,12andthecombinationform5,6,9,11,13,14.Thepositionpermutationalgorithmsscramblethedatapositionwithintheimageitselfandusuallyhavelowsecurity.Ontheotherhand,thevaluetransformationalgorithmstransformthedatavalueoftheoriginalsignalandhavethepotentialoflowcomputationalcomplexityandlowhardwarecost.Finally,thecombinationformsperformbothpositionpermutationandvaluetransformationandusuallyhavethepotentialofhighsecurity.Inrecentyears,anumberofdifferentimageencryptionschemeshavebeenproposedinordertoovercomeimageencryptionproblems.Afewimageencryptiontechniquessuggestedrecentlyarediscussedinthefollowingparagraphinbrief.In2010,YoonandKim7developedachaoticimagecipherinwhichinitiallyasmallmatrixwasgeneratedusingchaoticlogisticmap.Authorsconstructedalargepermutationmatrixfromgeneratedsmallmatrixes.Theconstructedpermutationmatrixwasusedtopermuteplainimagepixels.Further,anewchaoticimagecipherwassuggestedbyIsmailetal8inwhichtheyusedtwochaoticlogisticmapsaswellasanexternalsecretkeyof104-bitssize.Controlparametersforbothchaoticlogisticmapsweregeneratedfromtheusedexternalsecretkey.Theyalsoemployedafeedbackmechanismintheirimageciphertomakesystemmoresecured.In2011,JolfaeiandMirghadri9suggestedachaotic第4页imagecipherbasedonpixelshuffling,usingbakermap,andmodifiedversionofsimplifiedAES(S-AES),developedbyMusaetal.in200315.Further,Nayaketal.10proposedachaoticimagecipherusinglogisticmap.Inthealgorithm,permutationofimagepixelswasmadeonthebasisofindexpositionofgeneratedchaoticsequence.SathishkumarandBagan11suggestedachaoticimagecipherbasedinwhichblockpermutation,pixelpermutationandvaluetransformationwereused.Next,chaoticimagecipherusingtwochaoticlogisticmapsandasecretkeyof80-bitswassuggestedbyChenandChang12.IndrakantiandAvadhani13developedanon-chaoticimagecipherinwhichencryptionwasachievedinthreeprocesses.Inthelastprocess,akeywasgeneratedwhichkeepallinformationaboutencryptionprocess.Next,Xinetal20proposedachaosbasedcryptosystembasedondiffusionandconfusion.Toimprovethesecurityoftheconfusionmodule,authorsintroduceddiffusionmechanisminconfusionstagethroughalightweightbitlevelpermutationalgorithm.Pengetal21proposedanimageblockencryptionalgorithmbasedonthreedimensionalChenchaoticdynamicalsystem.Thealgorithmusedasecretkeyof192-bitsizewithanimageblockof32-bitlong.Inthealgorithm,ChenssystemgeneratedachaoticsequencethatwasinputtedtoadesignedfunctionGwhichwasiteratedseveraltimes.Further,Sathishkumaretal22suggestedanimageencryptionschemeusingmultiplechaoticbasedcircularmapping.Basedontheinitialconditions,eachmapproducesrandomnumbersfromorbitsofthemaps.Amongthoserandomnumbers,aparticularnumberfromaparticularorbitwasselectedasakeyfortheencryptionalgorithm.Further,inputimagewasreshuffledanddividedintovarioussub-blocks.Thenthepositionpermutationandvaluepermutationwasappliedtoeachbinarymatrixbasedonmultiplechaosmaps.Jameietal23proposedanimageencryptionusingchaoticsignalsandcompletebinarytree.Inthemethod,perfectbinarytreewasutilizedtoincreasecomplexityintheencryptionalgorithm.Next,Sathyanarayanaetal24designedanencryptionalgorithmfocusingontheapplicationofpropertiesoffinitefieldsandellipticcurves.AdditiveandAffineencryptionschemesusingsixschemesofkeysequencesobtainedfromrandomellipticcurvepointsweredesigned.Inthedevelopedalgorithm,cyclicellipticcurvesoftheformy2+xy=x+ax2+b,a,b第5页GF(2m),b_0withorderMwasconsideredinthedesignofasymmetrickeyimageencryptionscheme.Pareeketal25proposedalosslessdigitalimageencryptionschemebasedonthepermutationandsubstitutionarchitecture.Inthealgorithm,plainimagewasdividedintosquaredsub-imagesandthenreshuffledthem.Further,inthepermutationprocessasimplearithmetic,mainlysortinganddifferencing,wasperformedtoachievethesubstitution.HybridmodelofcellularautomataandchaoticsignalwasproposedforimageencryptionbyFateriandEnayatifar26.Inthismethod,8-bitsmaskwasusedforchangingthepixelgraylevelofmainimage.Forchangingeachpixelgraylevel,valueofeachbitofthemaskwasselectedbyoneofthe256cellularautomatstandardrules.Oneofthe256cellularautomatstandardruleswasdeterminedbychaoticsignal.1.2PaperoutlineInavailableliterature,mostofsuggestedimageencryptionschemesarebasedonchaoticdynamicalsystem.Inthispaper,anon-chaosbasedimageencryptionschemeusinganexternalkeyof144-bitsispresented.Theproposedencryptionschemeusesbothpixelsubstitutionaswellaspixelpermutationprocess.Afeedbackmechanism,toavoiddifferentialattackandmakethecryptosystemmorerobust,isalsoapplied.Theproposedencryptionschemehashighencryptionrate,requireslesscomputationandsensitivetosmallchangesinthesecretkeysoevenwiththeknowledgeoftheapproximatekeyvalues,thereisnopossibilityfortheattackertobreakthecipher.Theproposedschemeissimple,fastandsecuredagainstanyattack.Therestofthepaperisorganizedinthefollowingmanner.Insection2,variousprocessesusedintheproposedalgorithmaswellasdetailofencryptionalgorithmisdiscussed.SimulationresultsandsecurityanalysisareprovidedinSection3.Finally,theconclusionsaredrawninSection4.2.PROPOSEDENCRYPTIONALGORITHMImagedatahavestrongcorrelationsamongadjacentpixelsformingintelligibleinformation.Toencrypttheimage,thisintelligibleinformationneedstobereducedbydecreasingthecorrelationamongtheadjacentpixels.Theproposedencryptionalgorithmdoesthisbymodifyingthepixelvaluesoftheimageaswell第6页asreshufflingthepixelsoftheresultantimagewithinitself.Infollowingparagraph,functionsofvariousprocessesusedintheproposedalgorithmarediscussed.2.1KeymixingprocessTwokindsofkeymixingprocesses,calledFKMandBKM,areusedintheproposedalgorithm.Inboththeprocesses,imageblockisdividedintosub-blocks(p1,p2.p18)andeachsub-block(pi)ismodifiedbyusingsub-key(ki),itsprevioussub-block(pi-1)andsub-block(pi)itself.AsimilarprocessisusedintheBKMprocess.Forwardkeymixing(FKM)processi=2temp=p1,p1=p1k1if(i=1)thentemp1=pi,pi=pikitemp,temp=temp1elsei=i-1endif2.2Substitutionprocess第7页Inthisprocess,bitwiseoperationsareperformedonpixelsofsub-blockstochangetheirproperties.PictorialviewofsubstitutionprocessusedintheproposedsystemisshownintheFigure(1)anditsequivalentdescriptionisasfollows:1.Takeaplainimageblockanddivideditintoeighteenequalsub-blocksnamedasp1,p2,p3.p18.2.setposition=53.seti=1,Ti=pi4.if(position=5)thenpi=pi(kjmod18)5.bv=Tiposition6.seti=i+1,Ti=pi7.performoperationonpiasshowninTable(1)8.if(iN)or(SubImagerowcol#0)thenrow=row+2,col=col-1elseif(row=0)thenrow=Nelseif(colN)thencol=1endInthefollowingexample,howpositionsofpixelsarereshuffledwithinsub-imageisshown.Pixelsofsub-imageofdimension5x5areshowninTable2(a).Further,amagicsquareofsamedimensionisconstructedasshowninTable2(b).Now,permutepixelofsub-imagereferencingconstructedmagicsquare.Theresultantsub-imagepixelsareshownintheTable2(c).TABLE2.PIXELOFASUB-IMAGE,MAGICSQUAREMATRIXANDPIXELOFRESULTANTSUB-IMAGEISSHOWNIN(A),(B)AND(C)RESPECTIVELY.2.4TheCompleteencryptionalgorithmProposedalgorithmhastwomajorprocesses-pixelssubstitutionandpixelspermutation.Bothsubstitutionandpermutationprocessesarecompletelysecretkeydependent.Afeedbackmechanismisappliedinsubstitutionprocesstoavoiddifferentialattack.Stepsofalgorithmarediscussedbelow.第12页1)Theproposedencryptionschemeusesasecretkeyof144-bitssize.Thesecretkeyisdividedintoeighteenequalpartsof8-bitseachreferredassub-keys.k=k1k2k3k18.(1)2)Plainimageisdividedintoseveralblockscomprisingeighteenbyteseach.3)Eachimageblockispassedthroughthesubstitutionprocess.Whenaprocessingofablockisover,thekeyismodifiedfromitspreviouslyencryptedimageblock.Resultantpixelsarewritteninafile.4)setiteration=55)Takeoriginalsecretkeyandgeneratekeydependentoddintegerrandomnumberintherange50to200,sayN,usinganyrandomnumbergenerator.6)Partialencryptedimageisdividedintoseveralnon-overlappingsquaredsub-imageseachofsizeNxN.7)Takesub-imagesonebyoneandpassesthroughthepermutationprocess.8)Decreaseroundsvaluebyoneandrepeattheabovestepsfrom(5)tilliterationvalueisnon-zero.Finally,theencryptedpixelsofthesub-imagearewritteninafile.3.PERFORMANCEANDSECURITYANALYSISSeveraltestsonUSC-SIPIimagedatabase(freelyavailableat/database/)tojustifythesecurityandperformanceoftheproposedimagecipherhavebeendone.Anidealimageciphershouldresistagainstallkindsofknownattackssuchascryptanalytic,statisticalandbruteforceattacks.Inthissection,securityanalysisoftheproposedimageencryptionschemesuchasstatisticalanalysis,keyspaceanalysis,sensitivityanalysisetctoprovethattheproposedimagecipheriseffectiveandsecureagainstthemostcommonattacksisdiscussed.TheproposedalgorithmhasbeenimplementedinCprogramminglanguage.Fortheanalysisofimagedata,Matlabapplicationtoolwasused.3.1Statisticalanalysis第13页Intheliterature,itwasfoundthatmostoftheexistingimageciphershavebeensuccessfullycryptanalyzedwiththehelpofstatisticalanalysis.Toprovetherobustnessoftheproposedencryptionscheme,statisticalanalysishasbeenperformedwhichdemonstratesitssuperiorconfusionanddiffusionpropertiesresultsinastronglyresistingnatureagainstthestatisticalattacks.Thisisdonebytestingthedistributionofpixelsofthecipherimages,studyofcorrelationamongtheadjacentpixelsinthecipherimage,informationentropyandthecorrelationbetweentheplainandcipherimages.3.1.1DistributionofpixelsHistogramsofseveralcipherimagesandtheircorrespondingplainimageshavingwidelydifferentcontentsandsizeshavebeenanalysed.OneexampleofhistogramanalysisforwellknownimageLenaisshowninFigure2.Histogramsofred,blueandgreencomponentsofimage(Figure2(a)areshowninFrames(b),(c)and(d)respectively.InFrames(f),(g)and(h)respectively,thehistogramsofred,blueandgreencomponentsofthecipherimage(Figure2(e)areshown.Comparingthehistograms,itisfoundthatencryptionprocessreturnsnoisyimages.Histogramsofcipherimages,approximatedbyuniformdistribution,arequitedifferentfromthatoftheplainimageandcontainnostatisticalresemblancetotheplainimage.ThisisconsistentwiththeperfectsecuritydefinedbyShannon16andtheproposedencryptionschemeresistsagainsttheknown-plaintextattack.第14页FIGURE2.HISTOGRAMSCORRESPONDINGTORGBCOMPONENTSOFPLAINIMAGELENAANDITSCORRESPONDINGCIPHERIMAGE.3.1.2CorrelationbetweenplainandcipherimagesAnextensivestudyofthecorrelationbetweenpairsofplainimageandtheircorrespondingcipherimageproducedusingtheproposedencryptionschemebycomputingcorrelationcoefficient(CR)betweenRGBcomponentsoftheplainimagesandcorrespondingcipherimageshavebeendone.ResultsforafewimagesareshowninTable3.SincethecorrelationcoefficientsshownintheTable3areverysmall(C0),itindicatesthattheplainimagesandtheircorrespondingcipherimagesarecompletelyindependentofeachother.第15页TABLE3.CRBETWEENPLAINIMAGESANDTHEIRCORRESPONDINGCIPHERIMAGES3.1.3CorrelationanalysisofadjacentpixelsCorrelationsbetweentwoverticallyandhorizontallyadjacentpixelsinvariousplainimagesandtheircorrespondingcipherimageshavebeenanalysed.InFigure3,thedistributionsofhorizontallyadjacentpixelsofred,greenandbluecomponentsintheimageLenaandtheircorrespondingcipherimageisshown.Particularly,inFrames(a),(b)and(c),depictthedistributionsoftwohorizontallyadjacentpixelsofred,greenandbluecomponentsrespectivelyintheplainimage(Figure2(a).SimilarlyinFrames(d),(e)and(f)respectively,thedistributionsoftwohorizontallyadjacentpixelsinitscorrespondingcipherimage(Figure2(e)havebeendepicted.Similarly,inFigure4,thedistributionsofverticallyadjacentpixelsofred,greenandbluecomponentsintheplainimageLenaanditscorrespondingcipherimageisshown.ItisobservedfromcorrelationchartsandTable4thatthereisanegligiblecorrelationbetweenthetwoadjacentpixelsinthecipherimage.However,thetwoadjacentpixelsintheplainimagearestronglycorrelated.Correlationinthecipherimagesisverysmallornegligiblewhentheproposedencryptionschemeisused.Hencetheproposedschemehasgoodpermutationandsubstitutionproperties.第16页TABLE4.CRFORTWOADJACENTPIXELSINTHEPLAINANDITSCIPHERIMAGE.3.1.4InformationentropyIllegibilityandindeterminatenessarethemaingoalsofimageencryption.Thisindeterminatenesscanbereflectedbyoneofthemostcommonlyusedtheoreticalmeasure-InternationalJournalofNetworkSecurity&ItsApplications(IJNSA),Vol.4,No.2,March2012103informationentropy.Informationentropyexpressesthedegreeofuncertaintiesinthesystemanddefinesasfollow.whereP(mi)istheemergenceprobabilityofmi.Ifeverysymbolhasanequalprobability,i.e.,m=m0,m1,m2,m28-1andP(mi)=1/28(i=0,1,255),thentheentropyisH(m)=8whichcorrespondstoanidealcase.Practically,theinformationentropiesofencryptedimagesarelesscomparedtotheidealcase.Todesignagoodimageencryptionscheme,theentropyofencryptedimageclosetotheidealcaseisexpected.InformationentropyforafewimagesisshowninTable5whichisH(m)=7.73andveryclosetotheidealvalue.Thismeansahighpermutationandsubstitutionisachievedbytheproposedalgorithmandhasarobustperformanceagainsttheentropyattack.第17页TABLE5.ENTROPYFORDIFFERENTIMAGES3.2KeysensitivityanalysisAnidealimageciphershouldbeextremelysensitivewithrespecttothesecretkeyusedinthealgorithm.Flippingofasinglebitinthesecretkey,itshouldproduceawidelydifferentcipherimage.Thisguaranteesthesecurityofacryptosystemagainstbrute-forceattackstosomeextent.Sensitivitywithrespecttoatinychangeinthesecretkeyforseveralimageshavebeentested.OneexampleforplainimageLenaisdiscussedbelow:a.Plainimage(Figure2(a)isencryptedbyusingthesecretkeyC6DA750B4C1F78D329EA25E6B15CF9E47D21andtheresultantencryptedimageisreferredasimageFigure5(a).b.Theencryptedimage(Figure5(a)isdecryptedbymakingaslightmodificationintheoriginalkeyB6DA750B4C1F78D329EA25E6B15CF9E47D21andtheresultantdecryptedimageisreferredasimageFigure5(b).c.Theencryptedimage(Figure5(a)isdecryptedbymakingaslightmodificationintheoriginalkeyC6DA750B4C1F78D329EA25E6B15CF9E47D22andtheresultantdecryptedimageisreferredasimageFigure5(c).d.Theencryptedimage(Figure5(a)isdecryptedbymakingaslightmodificationintheoriginalkeyC6DA750B4C1F78D329FA25E6B15CF9E47D21andtheresultantdecryptedimageisreferredasimageFigure5(d).第18页Withasmallchangeinthekeyatanyposition,oneisnotabletorecovertheoriginalimage.Itisnoteasytocomparedecryptedimagesthroughthevisualinspection.Tocomparedecryptedimages,correlationcoefficientbetweenencryptedimagesandvariousdecryptedimageswascalculatedandresultsaregiveninTable6.Thecorrelationcoefficientsarenegligible.Havingtherightpairofsecretkeyisanimportantpartwhiledecryptingtheimage,asasimilarsecretkey(withonebitchange)willnotretrievetheexactoriginalimage.Aboveexampleshowstheeffectivenessoftheproposedtechniqueasthedecryptionwithaslightlydifferentsecretkeydoesnotrevealanyinformationtoanunauthorizedperson.FIGURE3:DISTRIBUTIONSOFHORIZONTALLYADJACENTPIXELSOFRGBCOMPONENTSINTHEPLAINIMAGELENAANDITSCIPHERIMAGE.第1
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 【教学设计】11《蟋蟀的住宅》
- 【教学设计】《习作:记一次游戏》
- 2026年人工智能教育应用与城市教育公平
- 新疆维吾尔自治区初级统计师资格考试(统计学和统计法基础知识)模拟题库及答案(2026年)
- 铝厂槽控节能项目可行性研究报告
- 2026 年学生银行卡安全管理远离涉诈违法活动
- 浙江2025-2026学年中本一体化期末联合考试高一下学期语文试题(文字版含答案)
- 2026 年夏季雷雨多发季:中小学防雷涉水安全科普
- 小学道德与法治教师教学能力考试试题及答案
- 重庆市永川区双竹初级中学2025-2026学年度下学期第8周学情调研九年级语文试题(文字版含答案)
- 助贷协议合同范本
- BMS电池管理系统方案技术文档
- 企业厂务公开工作汇报
- 2025版医疗行业财务外包服务合同提高医院运营效益
- (高清版)DBJ∕T 13-318-2025 《建筑施工盘扣式钢管脚手架安全技术标准》
- (高清版)DG∕TJ 08-2166-2015 城市地下综合体设计规范
- 自噬流的诱导与检测综合性实验的设计与实践
- 长期处方管理规范-学习课件
- DL∕T 5187.3-2012 火力发电厂运煤设计技术规程 第3部分:运煤自动化
- CJ/T 124-2016 给水用钢骨架聚乙烯塑料复合管件
- JBT 2603-2024 电动悬挂起重机(正式版)
评论
0/150
提交评论