Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Dab tsi yog Steganography
- Kauj Ruam 2: Yuav Sau Cov Ntawv Li Cas Hauv Cov Khoos Phis Tawj
- Kauj Ruam 3: Txoj Haujlwm Ua Haujlwm Li Cas
- Kauj Ruam 4: Xaus
Video: Qhov PNG Yog Qhov Chaw Tsis Pub Leej Twg Paub: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-31 10:20
Koj qhov kev sib tw, tus nyeem ntawv zoo, yog txhawm rau txheeb xyuas cov lus twg tau muab zais hauv cov duab output-p.webp
Ob daim duab ntawm no zoo ib yam tab sis lawv tsis yog Cov no yog greenman-p.webp
Cov lus qhia no tau tshoov siab los ntawm cov yeeb yaj kiab zoo hauv youtube. Tom qab saib cov vis dis aus no lig ib hmos ib hnub thiab tawm tsam kom xav txog qhov kev qhuab qhia txias thiab kev xeem ib nrab rau chav kawm Java qib siab, txoj haujlwm no tau yug los. Cov duab saum toj no, nrog rau cov cai piav qhia hauv cov lus qhia no, yog pub dawb ntawm Github.
Khoom siv
Koj yuav xav tau lub khoos phis tawj thiab koj yuav tsum paub sau thiab khiav Java program. Qhov haujlwm no tsuas yog ob daim ntawv luv luv thiab koj yuav tsum tau khiav nws ntawm kab hais kom ua.
Kauj Ruam 1: Dab tsi yog Steganography
Koj yuav tsum saib cov vis dis aus youtube kuv txuas hauv cov kauj ruam dhau los, tab sis ntawm no yog cov ntsiab lus:
Yog tias koj xav tau zais cov lus zais rau phooj ywg, txoj hauv kev txias kom ua nws yog nrog Steganography. Lub tswv yim ntawm daim duab Steganography yog qhov yooj yim; cov duab hauv computer tau tsim los ntawm pixels, thiab txhua lub pixel yog ua ke ntawm liab, ntsuab, thiab xiav. Hauv ntau lub khoos phis tawj cov duab ua qauv ntau npaum li liab, ntsuab, thiab xiav hauv txhua lub pixel tau hais los ua tus nqi ntawm 0-127. Yog li, piv txwv li, lub pixel liab heev yuav muaj tus nqi liab ntawm 127 thiab ntsuab thiab xiav qhov tseem ceeb ntawm xoom. Qhov ua kom yuam kev yog qhov no: xim liab ntawm 126 yog qhov sib txawv ntawm qhov liab siv ntawm 127 (rau tib neeg qhov muag). Thiab yog li los ntawm kev sib tw nrog ntxiv lossis rho tawm ib qho hauv txhua lub pixel liab peb tuaj yeem zais cov khoom hauv pixels. Yog tias peb pom txoj hauv kev zais kom khaws cov khoom rov qab, peb tuaj yeem khaws cov ntaub ntawv uas peb ntxig rau hauv daim duab!
Muaj tswv yim! Steganography tuaj yeem ua tiav nrog txhua cov xov xwm digital! Koj tuaj yeem ua si nrog cov khoom me me hauv cov nkauj lossis cov vis dis aus piv txwv, tab sis qhov ntawd xav kom koj mus tshawb fawb ntau ntxiv sab nraum qhov uas tau qhia no.
Kauj Ruam 2: Yuav Sau Cov Ntawv Li Cas Hauv Cov Khoos Phis Tawj
Dab tsi hauv qab no yuav xav tau qib kawm hauv CS lossis ntau yam ntawm kev nyiam ua haujlwm kom nkag siab. Cov khoos phis tawj khaws cov ntaub ntawv hauv cov khoom li 1s thiab 0s. Cov 1s thiab 0s no feem ntau yog ua pawg hauv 8 thiab hu ua "bytes". Raws li tau piav qhia ntawm no thiab ntawm no muaj ob peb txoj hauv kev peb tuaj yeem qhia lub khoos phis tawj kom txhais cov bytes ua cov ntawv. Txhawm rau kom tau txais txiaj ntsig zoo tshaj plaws ntawm cov lus qhia steganography/qhia no koj xav tau ntau dua lossis tsawg dua nkag siab ASCII thiab UTF8. Nov yog ob txoj hauv kev los nkag siab cov ntaub ntawv cov lus hauv kab ntawm bytes.
Thaum koj tau txais lub tswv yim txog cov ncauj lus no koj yuav nkag siab qhov no: Hauv ASCII thiab UTF8 lo lus "the" yog sawv cev los ntawm cov hauv qab no bytes (hauv hex) 0x74 0x68 0x65. Hauv binary, cov bytes no yog: 01110100b 01101000b 01101101b
Ntxiv mus, koj yuav nkag siab tias hauv UTF8 lub ntsej muag luag ntxhi Emoji tau sawv cev los ntawm cov hauv qab no bytes (hauv hex) 0xF0 0x9F 0x98 0x80. Hauv binary cov lej no yog 11110000b 10011111b 10011000b 10000000b.
Hauv txhua qhov xwm txheej koj yuav pom hauv qhov txuas txuas uas kuv lub khoos phis tawj ua qee yam nrog cov bytes no. Kuv tau hais qhia lawv hauv qhov program tso tawm nrog cov xub thiab loj "LOOK!".
Kauj Ruam 3: Txoj Haujlwm Ua Haujlwm Li Cas
Ua ke cov program los ntawm github yog qhov yooj yim. Tau txais cov repo pom ntawm nplooj ntawv ntawm no thiab tom qab ntawd
Qhov kev zov me nyuam tau khiav zoo li no los ntawm kab hais kom ua: java Main input-p.webp
hauv qhov piv txwv koj yuav pom tias kuv tau khiav java Main greenman-p.webp
Koj yuav ua tib yam nkaus.
Yog tias koj saib ntawm Main.java koj yuav pom tias qhov no tshwm sim li cas:
- Qhov kev zov me nyuam nyeem cov duab rau hauv 2D kab
- Qhov kev zov me nyuam hloov cov lus koj muab rau hauv byte array (byte )
- Qhov kev zov me nyuam siv chav kawm MessageHider los nkaum cov lus bytes hauv kab duab.
- Qhov kev zov me nyuam mam li sau cov duab 2d array tawm rau ib daim ntawv (output.png) nrog cov ntaub ntawv zais hauv. Yog tias koj saib cov duab no nws yog qhov txawv ntawm qhov qub
- Qhov kev zov me nyuam mam li nyeem output-p.webp" />
Yog li zoo nkauj npaum li cov cai ua haujlwm raws li peb xav tau.
Kauj Ruam 4: Xaus
Yog li kuv tau muab qee tus lej ua haujlwm rau koj, pov thawj tias nws ua haujlwm zoo li daim duab, thiab qee cov lus qhia kuv tau muab rau kuv cov tub ntxhais kawm hauv tsev kawm qib siab. Kuv kuj tau muab qhov nyuaj rau koj! Kuv tau siv ob peb teev los sau cov cai thiab npaj cov lus piav qhia yog li kuv thov txim cov lus qhia no tsis muaj duab ntau. Yog tias koj xav tias steganography yog qhov txaus siab thov lees txais kuv qhov kev sib tw!
Pom zoo:
Yuav Ua Li Cas Ua Tus Kws Pabcuam Tsis Pub Leej Twg Paub Siv Micro Bit: 9 Kauj Ruam
Yuav Ua Li Cas Ua Tus Pabcuam Tsis Txaus Siab Siv Micro Bit: Kuv tau tshoov siab hauv 'lwm lub tshuab' you tube chanal.here qhov kuv tau txais los ntawm nws -https: //youtu.be/mqlMo4LbfKQ Nov yog qhov kuv ntxiv ntawm kuv tus kheej - lcd cov lus qhia -lub ncoo tseem ceeb rau lwm lub micro-lub txhab nyiaj fais fab- Cov lej ntxiv rau nws
Daim iav Pom Lub ntsej muag Nrog Qhov Chaw Tsis Pub Leej Twg Paub: 15 Kauj Ruam (nrog Duab)
Lub ntsej muag lees paub daim iav Nrog Qhov Chaw Tsis Pub Leej Twg Paub: Kuv ib txwm muaj kev xav los ntawm qhov muaj tswv yim zais zais uas siv hauv cov dab neeg, tsos, thiab lwm yam. Yog li, thaum kuv pom qhov Kev Sib Tw Tsis Pub Leej Twg Paub Kuv tau txiav txim siab sim nrog lub tswv yim kuv tus kheej thiab ua ib daim iav zoo ib yam uas qhib qhov rooj
Raspberry Pi HomeLab thiab Leej Twg Yog Tsev: 11 Kauj Ruam
Raspberry Pi HomeLab thiab Leej Twg Yog Lub Tsev: Nov yog kuv thawj qhov tsis tsim nyog, Tab sis qhov kev qhia no muaj ob lub fazes.faze ib qho: tab tom teeb tsa pi kom ua haujlwm raws li tsev-lab rau IOT ua haujlwm rau pab pawg ntawm cov tub ntxhais kawm tsim tawm .faze ob: yog siv cov txheej txheem rau kev txhim kho, los ntawm kev ua ib qho kev qhia siv
Pc -Tsis pub twg paub - Arduino Automated Tsis pub twg paub rau koj lub khoos phis tawj: 5 Kauj Ruam (nrog Duab)
Pc -Tsis pub twg paub - Arduino Automated Tsis pub twg paub rau koj lub khoos phis tawj: Qhov teeb meem: Yog tias koj nyob nrog lwm tus neeg lossis muaj koj tus kheej lub chaw haujlwm koj yuav paub txog qhov teeb meem ntawm tib neeg tshwm nyob rau hauv koj chav thaum koj ua haujlwm ntawm cov ntaub ntawv tsis pub lwm tus paub lossis tsuas yog muaj qee qhov cov khoom coj txawv txawv qhib ntawm Lub Vev Xaib 2nd los ntawm h
Yuav Ua Li Cas Buzzing Qav, Qhov Tsis Zoo Tshaj Plaws Thiab Tsis Txaus Siab Qhov Twg --- YOG !!: 6 Kauj Ruam
Yuav Ua Li Cas Nrov Noog Qav, Qhov Tsis Zoo Tshaj Plaws Thiab Qhov Tsis Txaus Siab --- YUAV !!: Zoo, kuv tau dhuav ib hnub yog li kuv txiav txim siab ua qee yam khoom lom zem.Ntawm no yog qav nrov, thiab sab nraub qaum yuav muaj rocker hloov (lossis hloov pauv, koj xaiv) thiab thaum koj qhib nws, qav yuav nrov nrov. Yam khoom txias, thiab tsawg heev! Tus nqi ntau fr