Puas yog Cipher Block Chaning ruaj ntseg?
Puas yog Cipher Block Chaning ruaj ntseg?

Video: Puas yog Cipher Block Chaning ruaj ntseg?

Video: Puas yog Cipher Block Chaning ruaj ntseg?
Video: Ntshe yog kuv tsis txawj hlub koj. 10/5/2017 2024, Kaum ib hlis
Anonim

A thaiv cipher los ntawm nws tus kheej tsuas yog haum rau cov ruaj ntseg cryptographic transformation ( encryption los yog decryption) ntawm ib pawg ntev ntev ntawm cov khoom hu ua a thaiv . Ib hom kev ua haujlwm piav qhia yuav ua li cas rov ua dua a cipher cov ib leeg- thaiv kev ua haujlwm rau ruaj ntseg hloov cov ntaub ntawv loj dua ib thaiv.

Ib yam li ntawd, Cipher Block Chaining hom yog dab tsi?

Kuj saib cryptoography. Cipher block chaining (CBC) yog a hom kev ua haujlwm rau a thaiv cipher (ib qho uas ib ntus ntawm cov khoom raug encrypted ua ib chav tsev lossis thaiv nrog a cipher key siv rau tag nrho thaiv ). Cipher block chaining siv dab tsi hu ua qhov pib vector (IV) ntawm qhov ntev.

Puas yog CBC ciphers ruaj ntseg? CBC muaj qee yam khoom zoo. Lub ciphertext tsim los ntawm ib qho thaiv cipher yog encrypted, yog li nws (cia siab) zoo li random. Hauv CBC , koj tab tom sib xyaw qhov random saib cov ntaub ntawv encrypted rau hauv cov ntawv dawb, ua rau nws tsis zoo li yuav muaj cov qauv hauv cov zis.

Nyob rau hauv txoj kev no, qhov twg thaiv cipher hom muaj kev nyab xeeb tshaj plaws rau AES?

CTR siv yog tias koj xav tau kev sib luag zoo (ie. ceev), tsis yog CBC / OFB / CFB. XTS hom yog cov feem ntau Feem ntau yog tias koj tab tom encoding cov ntaub ntawv nkag tau yooj yim (xws li hard disk lossis RAM). OCB yog nyob deb ntawm qhov zoo tshaj plaws hom , raws li nws tso cai encryption thiab authentication nyob rau hauv ib tug pass.

Puas yog GCM ruaj ntseg dua CBC?

AES- GCM yog a ruaj ntseg dua cipher tshaj AES- CBC vim AES- CBC , ua haujlwm los ntawm XOR'ing (eXclusive LOSSIS) txhua qhov thaiv nrog cov thaiv dhau los thiab tsis tuaj yeem sau ua ke. AES- GCM yog sau nyob rau hauv parallel uas txhais tau tias throughput yog ho ntau dua tshaj AES- CBC los ntawm kev txo qis encryption overheads.

Pom zoo: