Miklix

Isibali sekhodi sehashi HAVAL-224/3

Kushicilelwe: 18 Pébruari 2025 jam 20.14.26 UTC

Isibali sekhodi ye-Hash esisebenzisa i-Hash Yobude obuguquguqukayo amabhithi angu-224, umsebenzi wama-hashi oyindilinga angu-3 (HAVAL-224/3) ukuze ubale ikhodi ye-hashi ngokusekelwe kokufakwayo kombhalo noma ukulayishwa kwefayela.

Leli khasi lihunyushwe ngomshini lisuka esiNgisini ukuze lenze lifinyeleleke kubantu abaningi ngangokunokwenzeka. Ngeshwa, ukuhumusha ngomshini akukabi ubuchwepheshe obuphelele, ngakho-ke amaphutha angenzeka. Uma uthanda, ungabuka inguqulo yokuqala yesiNgisi lapha:

HAVAL-224/3 Hash Code Calculator

I-HAVAL (Hash of Variable Length) iwumsebenzi we-cryptographic hashi oklanywe u-Yuliang Zheng, u-Josef Pieprzyk, no-Jennifer Seberry ngo-1992. Isandiso somndeni we-MD (Message Digest), egqugquzelwe ngokukhethekile i-MD5, kodwa enokuthuthukiswa okuphawulekayo kokuvumelana nezimo nokuphepha. Ingakhiqiza amakhodi e-hashi obude obuguquguqukayo ukusuka ku-128 kuya ku-256 bits, icubungule idatha ngemijikelezo engu-3, ​​4 noma engu-5.

Okuhlukile okwethulwa kuleli khasi kukhipha ikhodi ye-hash engu-224 bit (28 byte) ebalwa ngemijikelezo emi-3. Umphumela uba okukhiphayo njengenombolo ye-hexadecimal enamadijithi angu-56.

Ukudalulwa okuphelele: Angibhalanga ukusetshenziswa okuqondile komsebenzi we-hashi osetshenziswe kuleli khasi. Kungumsebenzi ojwayelekile ofakwe nolimi lokuhlela lwe-PHP. Ngenze isixhumi esibonakalayo sewebhu kuphela ukuze ngisenze sitholakale esidlangalaleni lapha ukuze kube lula.


Bala Ikhodi Ye-Hash Entsha

Idatha ethunyelwe noma amafayela alayishwe ngaleli fomu azogcinwa kuseva kuphela uma nje kuthatha ukukhiqiza ikhodi ye-hashi eceliwe. Izosuswa ngokushesha ngaphambi kokuthi umphumela ubuyiselwe esipheqululini sakho.

Idatha yokokufaka:



Umbhalo othunyelwe ubhalwe ngekhodi ye-UTF-8. Njengoba imisebenzi ye-hash isebenza kudatha kanambambili, umphumela uzohluka kunalapho umbhalo ubukomunye umbhalo wekhodi. Uma udinga ukubala i-hash yombhalo ekubhaleni ngekhodi okuthile, kufanele ulayishe ifayela esikhundleni salokho.



Mayelana ne-HAVAL Hash Algorithm

Cabanga nge-HAVAL njenge-blender enamandla kakhulu eklanyelwe ukuhlanganisa izithako (idatha yakho) ngokucophelela kangangokuthi akekho ongathola iresiphi yangempela ngokubheka i-smoothie yokugcina (i-hashi).

Isinyathelo 1: Ukulungiselela Izithako (Idatha Yakho)

Uma unikeza i-HAVAL idatha ethile - njengomlayezo, iphasiwedi, noma ifayela - ayivele iyiphonse esixubeni njengoba injalo. Okokuqala, it:

  • Ihlanza futhi inqume idatha ibe yizicucu ezinhle (lokhu kubizwa ngokuthi i-padding).
  • Qinisekisa ukuthi usayizi ophelele ulingana kahle ne-blender (njengokuqinisekisa ukuthi izithako ze-smoothie zigcwalisa imbiza ngokulinganayo).

Isinyathelo sesi-2: Hlanganisa ngama-Round (Ukuxuba Amaphasi)

I-HAVAL ayicindezeli nje "hlanganisa" kanye. Ihlanganisa idatha yakho ngemijikelezo emi-3, emi-4, noma emi-5 - njengokuhlanganisa i-smoothie yakho izikhathi eziningi ukuze wenze isiqiniseko sokuthi yonke ingxenye ihlutshiwe.

  • 3 ukudlula: Inhlanganisela esheshayo (esheshayo kodwa engavikelekile kakhulu).
  • 5 amaphasi: Inhlanganisela ecokeme kakhulu (ehamba kancane kodwa evikeleke kakhulu).

Umjikelezo ngamunye uxuba idatha ngendlela ehlukile, kusetshenziswa "izindwani" ezikhethekile (imisebenzi yezibalo) eziqoba, eziphenduphendukayo, ezinyakazisa, futhi zihlanganise idatha ngendlela engasile, ngezindlela ezingalindelekile.

Isinyathelo sesi-3: Isoso Eyimfihlo (Umsebenzi Wokucindezela)

Phakathi kokuhlanganisa imizuliswano, i-HAVAL yengeza isoso yayo eyimfihlo - zokupheka ezikhethekile ezivusa izinto nakakhulu. Lesi sinyathelo siqinisekisa ukuthi ngisho noshintsho oluncane kudatha yakho (njengokushintsha uhlamvu olulodwa kuphasiwedi) lwenza i-smoothie yokugcina ihluke ngokuphelele.

Isinyathelo sesi-4: I-Final Smoothie (I-Hash)

Ngemuva kwakho konke ukuxuba, i-HAVAL ithulula "i-smoothie" yakho yokugcina.

  • Lona i-hashi - isigxivizo somunwe esiyingqayizivele sedatha yakho.
  • Kungakhathaliseki ukuthi idatha yakho yoqobo yayinkulu noma yayincane kangakanani, i-hashi ihlala ingusayizi ofanayo. Kufana nokubeka noma yisiphi isithelo esiwusayizi ku-blender kodwa njalo uthola inkomishi efanayo ye-smoothie.

Kusukela ngo-2025, i-HAVAL-256/5 kuphela esathathwa njengevikelekile ngokwezinjongo ze-cryptographic, nakuba kungafanele uyisebenzise lapho uklama amasistimu amasha. Uma usayisebenzisa kusistimu yefa awukho engozini esheshayo, kodwa cabanga ukuthuthela isibonelo SHA3-256 esikhathini eside.

Yabelana ku-BlueskyYabelana ku-FacebookYabelana ku-LinkedInYabelana ku-TumblrYabelana ku-XYabelana ku-LinkedInPhina ku-Pinterest

Mikkel Bang Christensen

Mayelana Nombhali

Mikkel Bang Christensen
U-Mikkel ungumdali nomnikazi we-miklix.com. Unesipiliyoni seminyaka engaphezu kwengu-20 njengochwepheshe bezinhlelo zekhompyutha/unjiniyela wesoftware futhi njengamanje uqashwe ngokugcwele enkampanini enkulu ye-IT yaseYurophu. Lapho engabhali, uchitha isikhathi sakhe sokuphumula ezintweni eziningi azithandayo, azilibazisa, nemisebenzi, okungenzeka ngokwezinga elithile ibonakale ezihlokweni ezihlukahlukene ezitholakala kule webhusayithi.