Hello! Here is my simple, tiny, quasi-ANSIsh C tool to
protect and recover a file like WinRAR does. Can it help
you to implement data recovery for 7z archives?
Since I wrote it - except CRC calculation, picked from
zlib - (but I'm not a real programmer... ;-), you can use
the source code under the terms of GNU LGPL.
Really, it works!!! Try
protege /s 64 file.one
then crack, shrink or enlarge "file.one" (up to 64 sectors,
512 byte each) and finally do
protege /r file.one
"file.one" will be (magically) repaired!
Data recovering mini-tool