Find Jobs
Hire Freelancers

Generate a global hash (sha256) of a folder (PHP language)

€30-250 EUR

În desfășurare
Data postării: peste 3 ani în urmă

€30-250 EUR

Plata la predare
We have a series of sha256 hash (one for each file in a folder) and we would like to sum them to get a global hash (the hash of the folder). The job is to create a PHP function that will sum two hash, we will take care of the rest. For example, the script would receive two hashs : 9F C2 B3 99 E8 33 3A 3D 48 75 BD EA 6A CC 6A F5 8B 1F 73 9A 14 86 F2 BF 17 98 35 7A 4B CE A5 C0 and 85 A9 E3 86 B3 5D 5D F2 AD F1 B9 EC E5 7E 56 4C 1F B6 06 05 52 94 5F 6C 94 E9 33 E4 16 0C EF A1 and return the sum : 24 6C 97 20 9C 91 97 2F F6 66 77 D7 50 4B C1 41 AB D5 79 9F 66 1A 52 2C AC 81 69 5E 62 DA 94 62 (that's the valid result by the way, you can use this example to test your script) Be careful, these are hexadecimal characters but the value is represented each time by two digits (16*16=base 256). I added space to better understand the logic behind it. A few tips : 1) sum is "add" operation, not "xor" operation. 3) hex dump is not sequence of hex digits. It's sequence of bytes (two digits per byte): 85A9 doesn't mean 8 5 A 9. it means 85 A9. 3) the order is reverse: "least significant" byte is first. The final goal is to reproduce what the 7zip tool does with its CRC-SHA256 feature but in PHP... So we would get the exact same result, we want to have a global hash of an entire folder with many files. Generating a zip is not an option, we really want the final result to be the combined hash. A way to test it : - Download 7zip with the extra hash features - pick up two files... generate the sha256 of each file and also of a folder containing both files. - use your script to sum both individual hash.... you should get the same result at the folder hash generated by 7zip. It has to be done with PHP... and no extra library (but you can use bcmath or other standard php modules).
ID-ul proiectului: 29011504

Despre proiect

3 propuneri
Proiect la distanță
Activ: 3 ani în urmă

Vrei să câștigi bani?

Avantajele de a licita pe platforma Freelancer

Stabilește bugetul și intervalul temporal
Îți primești plata pentru serviciile prestate
Evidențiază-ți propunerea
Te înregistrezi și licitezi gratuit pentru proiecte
3 freelanceri plasează o ofertă medie de €173 EUR pentru proiect
Avatarul utilizatorului
SIR “I can complete your project on time and within your budget.” I am Asait representing Skynet Global System ,Gujarat. We have group of inhouse group of 15 designers and we include conveyed 200 undertakings inside 1.5 year of period of time. I reviewed your project and based on that let me share my skills : My Skills: - >Design : PSD to HTML, Bootstrap, HTML5, Logo plan, handout plan, format plan, visual communication. - >Development: combination modules, site improvement (wordpress, joomla, woocommerece, magento , openkart, codeignter . - >Other: SEO (On Page/Off page)
€140 EUR în 7 zile
4,8 (34 recenzii)
6,3
6,3
Avatarul utilizatorului
⭐⭐⭐I can make php script for u⭐⭐⭐ Hi, dear client. I hope u a being well. I've read your proposal carefully and am getting interested in your project. I will prove my ability by implementing your requirments. You can see my profile on https://www.freelancer.com/u/stepanbohanov. awaiting your reply. thanks. Stepan
€180 EUR în 3 zile
5,0 (39 recenzii)
5,8
5,8
Avatarul utilizatorului
Hi Adrien, I understood what you want. I am very specialized in PHP 5.x ~ 7.x. I have confidence that I can get the result done perfectly. So if you are interested in me, please contact to me anytime. I look forward to hearing from you. Best regars, Ibragim
€200 EUR în 7 zile
5,0 (20 recenzii)
5,0
5,0

Despre client

Steagul FRANCE
Lyon, France
5,0
1
Metoda de plată a fost confirmată
Membru din sept. 28, 2020

Verificarea clientului

Mulțumim! Ți-am trimis prin e-mail linkul pe care trebuie să-l accesezi pentru a revendica creditul gratuit.
A apărut o eroare la trimiterea e-mailului. Încearcă din nou.
Utilizatori înregistrați Totalul proiectelor postate
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Se încarcă previzualizarea
S-a oferit permisiunea de depistare a locației.
Ți-a expirat sesiunea pentru conectare sau te-ai deconectat. Conectează-te din nou.