Qhov txawv ntawm Symmetric thiab Asymmetric Encryption

Qhov txawv ntawm Symmetric thiab Asymmetric Encryption
Qhov txawv ntawm Symmetric thiab Asymmetric Encryption

Video: Qhov txawv ntawm Symmetric thiab Asymmetric Encryption

Video: Qhov txawv ntawm Symmetric thiab Asymmetric Encryption
Video: Hmong Movie - Xov Xwm txawv Txawv Nab Thiab Qhav 2020 2024, Hlis ntuj nqeg
Anonim

Symmetric vs Asymmetric encryption

Kev nkag mus yog lub tswv yim tseem ceeb hauv kev zais zais. Nws yog cov txheej txheem uas ib tus tuaj yeem nkag mus rau cov lus rau ib hom ntawv uas tsis tuaj yeem nyeem los ntawm tus eavesdropper. Nws yog cov txheej txheem qub uas muaj hnub nyoog, thiab ib qho kev siv thaum ub nrov tau pom nyob rau hauv Caesar cov lus, uas tau encrypted siv Caesar cipher. Nws tuaj yeem xav tias yog kev hloov pauv. Tus neeg siv muaj cov ntawv dawb, thiab thaum nws tau encoded rau hauv cov ntawv cipher, tsis muaj eavesdropper tuaj yeem cuam tshuam nrog koj cov ntawv dawb. Thaum nws tau txais los ntawm tus neeg txais lub hom phiaj, nws tuaj yeem txiav txim siab kom tau txais cov ntawv qub qub. Encryption yog siv nyob rau hauv yuav luag tag nrho cov network kev sib txuas lus nyob rau hauv sib txawv degrees yam tsis muaj peb paub. Nws tau siv los txwv rau kev siv tub rog thiab kev sib txuas lus ntawm tsoomfwv, tab sis nrog kev nthuav dav hauv internet tsis ntev los no, kev xav tau kev ruaj ntseg cov ntaub ntawv xov xwm tau dhau los ua qhov tseem ceeb, thiab kev encryption tau dhau los ua kev daws teeb meem rau qhov ntawd. Muaj ob hom kev encryption loj uas hu ua Symmetric Encryption thiab Asymmetric Encryption. Hnub no peb yuav los sib piv lawv ib sab ib leeg.

Symmetric encryption

Qhov no yog qhov yooj yim tshaj plaws ntawm kev encryption uas koom nrog kev siv ib tus yuam sij zais cia. Nws yog txoj kev paub encryption qub tshaj plaws thiab Caesar cipher poob rau hauv pawg no. Tus yuam sij zais cia tuaj yeem yooj yim li tus lej lossis ib txoj hlua ntawm cov tsiaj ntawv thiab lwm yam. Piv txwv li, cia peb saib ntawm qhov hloov pauv hloov pauv uas yog cov txheej txheem sib txawv yooj yim uas tuaj yeem ua kom pom tau zoo. Peb muaj cov ntawv yooj yim 'Kuv xav xa cov lus zais' hauv peb txhais tes, thiab peb tus yuam sij zais cia yog hloov txhua tsab ntawv los ntawm peb txoj haujlwm. Yog li yog tias koj muaj 'A' hauv cov ntawv dawb, nws yuav dhau los ua 'D' hauv cov ntawv cipher. Qhov no yog qhov hu ua Caesar cipher, thiab koj cov ntawv cipher yuav zoo li 'L zdqw wr vhqg d vhfuhw phvvdjh'. Ntawm ib sab, nws tsis nkag siab, tab sis thaum koj txiav txim siab nws nrog tus yuam sij zais cia, nws dhau los ua cov ntawv dawb dua. Muaj ntau qhov sib txawv ntawm qhov tseem ceeb encryption algorithms siv niaj hnub no uas suav nrog cov kwj ciphers zoo li RC4, FISH, Py, QUAD, SNOW thiab lwm yam thiab thaiv ciphers xws li AES, Blowfish, DES, Nab, Camellia thiab lwm yam.

Asymmetric encryption

Asymmetric encryption tseem hu ua pej xeem tus lej cryptography uas yog thaj chaw tshiab dua piv rau symmetric encryption. Asymmetric encryption siv ob tus yuam sij los encrypt koj cov ntawv dawb. Qhov no tuaj rau lub arena los daws qhov teeb meem uas tshwm sim nrog lub symmetric cipher. Yog hais tias tus eavesdropper tau tuav ntawm tus yuam sij symmetric zais cia, ces tag nrho cov ntsiab lus ntawm encryption yog nullified. Qhov no yog qhov muaj feem ntau vim hais tias tus yuam sij zais cia yuav tsum tau sib txuas lus hla cov kev sib txuas lus tsis ruaj ntseg. Raws li kev daws teeb meem, asymmetric encryption siv ob tus yuam sij uas ib tus yuam sij muaj rau pej xeem, thiab lwm tus yuam sij yog tus kheej thiab tsuas yog paub rau koj. Xav txog tias ib tug neeg xav xa lus rau koj; Hauv qhov xwm txheej ntawd, koj yuav muaj tus yuam sij zais cia thiab tus yuam sij pej xeem sib raug rau qhov ntawd yuav muaj rau txhua tus neeg uas xav xa koj cov lus zais. Yog li tus neeg xa ntawv encrypts cov lus uas siv tus yuam sij pej xeem thiab hloov cov ntawv dawb rau cov ntawv cipher, thiab qhov no tsuas yog decrypted siv tus yuam sij ntiag tug uas ua rau leej twg tuaj yeem xa xov rau koj yam tsis tas yuav muab tus yuam sij zais cia rau koj. Yog hais tias cov lus raug encrypted nrog tus yuam sij zais, ces nws tuaj yeem decrypted nrog tus yuam sij pej xeem, thiab. Qhov tseeb, Asymmetric encryption feem ntau yog siv nyob rau hauv ib hnub rau ib hnub kev sib txuas lus channel tshwj xeeb tshaj yog nyob rau hauv internet. Nrov asymmetric tseem ceeb encryption algorithms suav nrog ElGamal, RSA, Elliptic nkhaus txheej txheem, PGP, SSH thiab lwm yam.

Qhov txawv ntawm Symmetric Encryption thiab Asymmetric Encryption yog dab tsi?

• Symmetric Encryption siv ib tus yuam sij zais cia uas yuav tsum tau sib koom ntawm cov neeg uas xav tau txais cov lus thaum Asymmetric encryption siv ib khub ntawm pej xeem tus yuam sij, thiab tus yuam sij ntiag tug los encrypt thiab decrypt cov lus thaum sib txuas lus.

• Symmetric Encryption yog cov txheej txheem qub qub thaum Asymmetric Encryption yog qhov tshiab.

• Asymmetric Encryption tau qhia los ua kom tiav qhov teeb meem ntawm qhov xav tau los qhia tus yuam sij hauv symmetric encryption qauv tshem tawm qhov xav tau los qhia tus yuam sij los ntawm kev siv ob khub ntawm pej xeem-private yuam sij.

Symmetric encryption vs Asymmetric encryption

Kuv tuaj yeem muab cov lus qhia dav dav rau koj seb yuav xaiv qhov sib txawv encryption lossis asymmetric encryption, tab sis qhov tseeb yog qhov tsis zoo uas koj yuav tau txais txoj hauv kev xaiv yog tias koj tsis yog tus tsim tawm lossis tus tsim tawm. software engineer. Qhov no yog vim hais tias tag nrho cov encryptions no tshwm sim nyob rau hauv daim ntawv thov txheej thiab hauv qab no hais tias nyob rau hauv lub OSI qauv ntawm kev sib txuas lus thiab ib tug layman yuav tsis tau cuam tshuam nrog ib yam ntawm cov uas. Lawv yuav muaj kev lees paub rau ntau qib txog kev ceev ntiag tug nyob ntawm cov kev pab cuam lawv siv. Yog li qhov tseem ceeb uas yuav tsum nco ntsoov yog tias tsis txhob sib txuas lus koj tus yuam sij zais cia hauv lub network pej xeem yog tias koj siv tus yuam sij symmetrical algorithm, thiab asymmetric encryption tsis txhob muaj qhov cuam tshuam. Txawm li cas los xij, feem ntau asymmetric encryption yuav siv sij hawm ntau dua thiab zoo li no, feem ntau cov tshuab tiag tiag siv cov hybrid ntawm ob txoj kev encryption uas tus yuam sij zais cia siv nyob rau hauv symmetric encryption yog encrypted siv asymmetric encryption xa mus rau ib qho kev ruaj ntseg channel thaum tus so ntawm tus cov ntaub ntawv yog encrypted siv symmetric encryption thiab xa mus rau lub insecure channel. Thaum tus txais tau txais tus yuam sij asymmetrically encrypted, nws siv nws tus kheej tus yuam sij rau decrypt nws thiab thaum nws paub qhov zais cia, nws tuaj yeem yooj yim decrypt cov lus symmetrically encrypted.

Pom zoo: