Merging SHA1 values

Just starting out? Need help? Post your questions and find answers here.
whertz
Enthusiast
Enthusiast
Posts: 124
Joined: Sat Jun 25, 2005 2:16 pm
Location: United Kingdom

Merging SHA1 values

Post by whertz »

Does anyone know how to do this:

Let's say I have the SHA1 hash values of a file that is split into two or more.
I also have the SHA1 value of the file when it is complete.
How can I make the SHA1 values of the split files match the hash I have of the complete file? Without using any SHA1 calculations on the files again? (for speed reasons).
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: Merging SHA1 values

Post by freak »

You can't. These algorithms are designed so this is not possible.
quidquid Latine dictum sit altum videtur
whertz
Enthusiast
Enthusiast
Posts: 124
Joined: Sat Jun 25, 2005 2:16 pm
Location: United Kingdom

Re: Merging SHA1 values

Post by whertz »

Okay thanks.
Post Reply