The actual question is this. As I understand it, we are talking about packing/unpacking zip array. It's mega useful thing, but I can't use it, CryptDecode function stubbornly gives zero result on test zip archive:
Maybe something else must be specified as a key, or I've got wrong idea about CRYPT_ARCH_ZIP modifier value. In any case, there is no example of how to use the function in the documentation, which makes it much more difficult to understand how it works. The GetLastError function writes 4001 - Unexpected Internal Error.
not the right approach
A ZIP archive is a whole structure, but the function archives/unarchives an array, i.e. only an array ready for unarchiving should be placed there.
Roughly speaking, it unarchives only the output of the archiving function.
More details if you can.
link.zip
has been created by the archive function?
A ZIP archive is a whole structure, but the function archives/unarchives an array, i.e. only an array ready for unarchiving should be placed there.
Roughly speaking, it unarchives only the output of the archiving function.
or what in
was created by the archive function?
- 2014.05.29
- Евгений Жирнов (jirnov@gmail.com)
- blog2k.ru
Nope, it says zero. CryptDecode decodes zip. I tried to create a zip archive, CryptEncode and normal archivers didn't match. CryptEncode makes the zipped file much shorter, which indirectly confirms your theory!
It's not a theory, it's just that they're used to having everything ready to go in the archiver,
I foolishly thought it would unzip files made with a normal archiver.
The problem is that I can't find the byte array occurrences given by CryptEncode in a normal zip archive.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
The actual question is this. As I understand it, we are talking about packing/unpacking zip array. It's mega useful thing, but I can't use it, CryptDecode function stubbornly gives zero result on test zip archive:
Maybe something else must be specified as a key, or I've got wrong idea about CRYPT_ARCH_ZIP modifier value. In any case, the documentation doesn't contain an example of the function, which makes it difficult to understand how it works. The GetLastError function writes 4001 - Unexpected Internal Error.