Hexadecimal ndi maziko a nambala 16. Manambala 0 mpaka 9 amaimiridwa ndi zilembo zofananira (A mpaka F). Manambala kuyambira 10 mpaka 15 amaimiridwa ndi manambala awiri, monga 1234 kapena ABCD. Manambala a hexadecimal amadutsa malire awa, pogwiritsa ntchito zilembo zinayi kuyimira manambala kuyambira 16 mpaka 255.
Chenjezo
Chifukwa cha malire a msakatuli, kutalika kwa deta yanu sikungapitirire zilembo za 1950 ngati mukufuna kugwiritsa ntchito njirayi mwachindunji. Apo ayi, chonde ganizirani kugwiritsa ntchito API yathu.
Chida ichi chikuvomereza njira ya POST kudzera pa API yokha, ngati mukufuna kugwiritsa ntchito njira ya GET, chonde ganizirani kugwiritsa ntchito. Kugwiritsa Ntchito Mwachindunji.
Mapeto
https://tooly.win/api/text-hex-converter/
Kusindikiza malemba
Mapeto: POST https://tooly.win/api/text-hex-converter/
Hexadecimal ndi njira yoyimira deta ya binary mu mawonekedwe owerengeka ndi anthu. Linapangidwa m’zaka za m’ma 1800 kuti makompyuta azisunga zinthu zambirimbiri.
Mutha kugwiritsa ntchito hexadecimal kuti musinthe pakati pa ma decimal ndi ma binary. Mwachitsanzo, kutembenuza 10011011001010 kukhala hexadecimal kungapangitse 0x4F. Izi zikutanthauza kuti mtengo wa 4F umayimira nambala ya binary 100110110010110.
Mu masamu ndi sayansi ya makompyuta, hexadecimal (komanso maziko 16, kapena hex) ndi ndondomeko ya nambala yomwe ili ndi radix, kapena maziko, a 16. Imagwiritsa ntchito zizindikiro khumi ndi zisanu ndi chimodzi zosiyana, nthawi zambiri zizindikiro 0-9 kuimira ziro mpaka zisanu ndi zinayi, ndi A, B, C, D, E, F (kapena m’malo mwake a–f) kuimira mfundo khumi mpaka khumi ndi zisanu. Mwachitsanzo, nambala ya hexadecimal 2AF3 ndi yofanana, mu decimal, ku (2 × 163) + (10 × 162) + (15 × 161) + (3 × 160), kapena 10,995.
Nambala iliyonse ya hexadecimal imayimira manambala anayi (bits) (omwe amatchedwanso "nibble"), ndipo kugwiritsa ntchito koyambirira kwa hexadecimal notation ndikuyimira anthu pamachitidwe apakompyuta ndi zamagetsi zamagetsi. Mwachitsanzo, ma byte amatha kuyambira 0 mpaka 255 (decimal) koma atha kuyimiridwa mosavuta ngati manambala awiri a hexadecimal mu 00 mpaka FF. Hexadecimal imagwiritsidwanso ntchito kuyimira ma adilesi okumbukira pakompyuta.
Hex ndi chidule cha Hexadecimal, chomwe chimatengera maziko -16 kapangidwe kake ndipo chimagwiritsidwa ntchito kufewetsa momwe malangizo amakompyuta amaimiridwa. Nambala iyi ya zizindikiro 16 idapangidwa ngati njira yolepheretsa nambala ya binary ya 8-bit, kotero kuti deta imatha kusungidwa pamakompyuta movutikira. Itha kusindikizidwa ndikuyimira pogwiritsa ntchito manambala awiri osiyana a hex ndi manambala a hex iliyonse kuwonetsa nibble kapena mtundu wa 4-bits.
Nambala iyi imagwiritsa ntchito zizindikiro 16 zomwe zimayimiridwa kuchokera ku 0-9 kapena AF. 0-9 imayimira manambala mpaka asanu ndi anayi pomwe AF imaimiridwa ndi manambala 10-15. Poyerekeza ndi mitundu ina itatu ya manambala, dongosolo la manambala a hexadecimal limawonedwa kuti ndilothandiza kwambiri.
Dongosolo la hexadecimal ndi nambala ya 16 yoyambira, pomwe gawo la decimal ndi nambala 10 yoyambira. Mwa kuyankhula kwina, hexadecimal system imagwiritsa ntchito zizindikiro 16 kuimira manambala, pamene ndondomeko ya decimal imagwiritsa ntchito zizindikiro 10. Kukula kumeneku kumathandizanso kuti zidziwitso zapamwamba za density-hexadecimal manambala zitha kuyimira kuwirikiza kawiri kuposa manambala a decimal.
Manambala a hexadecimal amapangidwa ndi manambala 16 m'malo mwa 10 mu nambala ya decimal. Dongosolo la manambalawa limayamba pambuyo pa F (kapena 15 mu decimal), pomwe siliri muzowerengera. Onani tebulo ili m'munsimu kuti muwone momwe akufananizira!
Mukatembenuza hexadecimal kukhala decimal, sitepe yoyamba ndikugawa nambala ya hex ndi 16. Izi zidzakupatsani nambala yoyambira. Gawo lachiwiri ndikugawa nambala iliyonse ya nambala ya hex ndi 16 ndikulemba zotsatira. Pomaliza, onjezani manambala onse omwe angowerengedwa kumene.
Mwachitsanzo, ngati wina akufuna kusintha 9F7A kukhala decimal, agawe kaye 9F7A ndi 16 zomwe ndi 6051. Kenako amagawa manambala aliwonse a 6051 ndi 16 omwe ndi 381. Pomaliza, aphatikiza 381 + 381 + 381 zomwe zimafanana 1144. Choncho, 9F7A mu decimal ndi ofanana ndi 1144
Kutembenuza decimal kukhala hexadecimal ndi njira yosavuta, ndipo imatha kuchitidwa ndi chowerengera kapena chosinthira pa intaneti. Kuti musinthe nambalayi, gawani ndi 16 ndikutenga yotsalayo. Chotsalira ichi chidzagwirizana ndi chiwerengero cha hexadecimal. Mwachitsanzo, ngati muli ndi nambala ya decimal 234, gawani ndi 16 ndi kutenga yotsalayo: 234 / 16 = 14 R 2. Choncho, mu hexadecimal notation, nambala iyi idzalembedwa ngati "E2".
Pali zida zambiri zomwe zilipo pa intaneti zomwe zingathandize pakusintha pakati pa manambala a decimal ndi hexadecimal. Kuonjezera apo, ma calculator ambiri ali ndi ntchito yomanga yomwe ingakuthandizeni kuchita kutembenuka kumeneku mosavuta. Ndi kungodinanso pang'ono pa mbewa kapena kugogoda pa kiyibodi, mudzatha kusintha mtengo uliwonse kuti ukhale wofanana ndi hexadecimal!
Dongosolo la hexadecimal, kapena base-16, lidapangidwa kuti litsanzire zina mwazofanana ndi dongosolo la decimal. M’mawu ena, zinalengedwa kuti zifewetse zinthu kwa ife anthu. Nambala 423 ili ndi manambala 16 m'malo mwa manambala 10 omwe amapezeka mudongosolo la decimal. Izi zili choncho chifukwa hexadecimal imagwiritsa ntchito maziko a zizindikiro 16 m'malo mwa 10. Pambuyo pa F, dongosolo limayambanso ndi 0 ndi zina zotero mpaka kufika ku 15 komwe kumatchulidwa ngati F.
Kusindikiza kwa hexadecimal kumachepetsa kuchuluka kwa manambala ndi gawo la eyiti poyerekeza ndi dongosolo la decimal. Kuphatikiza apo, manambala a hexadecimal ali ndi kachulukidwe kachidziwitso komwe kuwirikiza kawiri kuposa momwe manambala amachitira. Ndiye, bwanji mukuvutikira kuphunzira kawerengedwe kakang'ono kosangalatsa kameneka? Chifukwa kungapangitse moyo wanu kukhala wosavuta! Mukamagwira ntchito ndi makina a digito kapena kutumiza deta, kugwiritsa ntchito hex kumakupulumutsirani nthawi ndi mphamvu polemba mauthenga achinsinsi kapena mitsinje ya data.
Kuphatikiza apo, Hexadecimal imatenga malo ochepa kuposa decimal. Ndi manambala awiri okha m'malo mwa manambala 8, manambala a Hex amayimira ziwerengero zazikulu mwachidule. Izi zitha kukhala zothandiza kwambiri mukamagwira ntchito ndi makina apakompyuta, chifukwa mwayi wolakwitsa umachepa polemba ma code a hex poyerekeza ndi ma code decimal omwe amakhala ndi ma decimal ambiri ponseponse!
Nambala ya hexadecimal ndi nambala yomwe imagwiritsa ntchito manambala 16 m'malo mwa manambala 10 omwe timagwiritsa ntchito pa decimal. Nambala iyi imatchedwa base-16, ndipo imatithandiza kutengera zomwe timazidziwa bwino. Mu hexadecimal, chiwerengero chilichonse chimaimira mphamvu ya 16. Manambala 0 mpaka 9 amaimira mphamvu za 1 kupyolera mu 10, pamene A kupyolera mu F amaimira mphamvu za 11 kupyolera mu 15.
Monga momwe zilili mu decimal, zizindikiro 16 zitagwiritsidwa ntchito mu Hexadecimal, dongosolo la manambala limayambanso paziro. Choncho, hexadecimal 10 ndi ofanana ndi decimal 16, ndipo hexadecimal 11 ndi ofanana ndi decimal 17. Ndi zina zotero!
Dongosolo la Decimal limayamba ndi 10 ndikupita ku 15. Izi zikutanthauza kuti kuchuluka kwa zikhalidwe zomwe zingayimilidwe ndi nambala ya decimal ndi kuchokera ku 0-9, kutsatiridwa ndi AF (10-15).
Zikafika pakujambula kwa Hexadecimal, pali zinthu zingapo zomwe muyenera kudziwa. Choyamba, monga dongosolo la decimal, hexadecimal system ili ndi zizindikiro 10 (0-9) zomwe zimayimira manambala. Komabe, mu hexadecimal, manambalawa ali ndi miyeso yomwe imakhala yayikulu kuwirikiza kawiri kuposa ena mu dongosolo la decimal. Kotero, pamene nambala "10" imayimiridwa ndi chizindikiro "A" mu hexadecimal, ingakhale yofanana ndi "10" mu ndondomeko ya decimal.
Mofananamo, tikafika 9 mu Hexadecimal (yoyimiridwa ndi "F"), timayambanso kuwerengera pa 10 ("10"). Njirayi imapitilira mpaka titafika 15 ("1F"), pomwe timabwereranso ku 0 ndikuyamba kuwerengeranso pa 16 ("20"). Izi zitha kumveka zosokoneza poyamba, koma ndikuchita pang'ono, zitha kukhala zachiwiri!
Pomaliza, monga mu base 10 (decimal system), mtengo wa malo aliwonse a nambala ya hexadecimal umayimira mphamvu ya 16. Kotero mwachitsanzo, tikanakhala ndi nambala 423004 yosungidwa ngati mtengo wa hexadecimal:
encod [jjj\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' AND (SELECT (C] ku HEX - Zolemba & HEX Converter - Tooly.win https://tooly.win/text-hex-converter.html?input=jjj\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' AND (SELECT (CASE WHEN (1567=4243) THEN NULL ELSE CTXSYS.DRITHSX.SN(1,1567) END) FROM DUAL) IS NULL AND \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'JhhZ\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'JhhZ&lang=ny