3 Replies Latest reply on May 28, 2013 3:46 PM by Michal Matloka

    Hash of Archive

    Stefan Miklosovic Novice

      Hi

       

      I have a file (apk file to be precise). I make a hash of this file by some technique. Then I create a JavaArchive via good old Shrinkwrap.createFromZipFile(). Now, I have the Archive<?>. The question is, if I do not do any modifications at all and I write this Archive directly to some other file with

       

      archive.as(ZipExporter.class).exportAsInputStream();

       

      will have this copy of the original file exactly the same hash? Can I take this as a fact I can rely on?

       

      Thanks