Class to store data into multiple files. When reading back, the class is able to figure out what is the order of the files and which files contains the same data stream. File format: header, data chunk Header format: encoding (1 byte): either "B" or "T". If "T", remaining part of the header is decoded using base64 fileHash (32 bytes): SHA-256 hash of the original file fileSize (4 bytes) dataOffset (4 bytes): the offset of the data chunk in the original file dataSize (4 bytes): data chunk size dataHash (32 bytes): SHA-256 hash of the data in this file multi bytes integers are written high byte first. Hashes are written low byte first.
@author seb
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.