CRC used to figure out compression algorithm
Sorry messed up title, should say MD5 not crc
Hey guys I`m back after so long, i know you missed me :p
Ive been thinking about a problem with knowing what compression algorithm was used on a given archive, and have an idea on how to discover it
Please let me know if this idea is feasable
1.First thing is to Un-Arc the Archive
2.Generate a MD5 of the Folder
3.Check many algorithm`s, Since we know the correct MD5 and there can only be 1 way to get this MD5 and that is to obtain the exact algorithm it used to compress it
So we have a program that contains as many different algorithm`s as possible and we test each one on our Uncompressed folder, then check the MD5, if it matches then we have it, if not move down to the next one
My question is would this work?