You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Vasiliy!
Did you get an answer?
The function works with a separate data buffer, not with archive files.
The deflate algorithm is used, and the function was introduced to be used in WebRequest, in case the response is reaped by the server.
The key parameter is not used.
Please form a clear list of questions.
The function works with the individual data buffer, not the archive files.
The deflate algorithm is used, and the function was introduced to be used in WebRequest, in case the response is fried by the server.
The key parameter is not used.
Good afternoon!
One question, what do the 4 bytes at the end of theCryptEncode() with the CRYPT_ARCH_ZIP parameter mean?
If you use thedeflate algorithm, you can also decompress ZIP archives knowing how you get those 4 bytes.
( Example ZIP decompiler on page 6)
Good afternoon!
One question, what do the 4 bytes at the end of theCryptEncode() with the CRYPT_ARCH_ZIP parameter mean?
but the first 2 bytes?
Most likely it is:
0x78 - sign of packed data
0x5E - compression method
These bytes do not change (I checked)
This is for integrity control, ADLER32 or CRC32 (may not exist) from the source data
Thank you.
ZIP without 4 bytes and CRC32 from ZIP archive is not unpacked :(
Vasiliy, our venture won't work
Unless, of course, the guys from MQ meet us halfway and add a flag to
functionCryptDecode(CRYPT_ARCH_ZIP, data, key, result,NO_READ_CRC) ;
or take CRC32 from the ZIP file:
CryptDecode(CRYPT_ARCH_ZIP, data, key, result,USE_CRC_FROM_ZIP) ;
Thank you.
ZIP without 4 bytes and CRC32 from ZIP archive is not unpacked :(
Vasily, our idea will not work.
Unless, of course, the guys from MQ will meet us halfway and add a flag in
functionCryptDecode(CRYPT_ARCH_ZIP, data, key, result,NO_READ_CRC) ;
Can we try to slip in an empty four bytes?
This is for integrity control, ADLER32 or CRC32 (depends on the archiving parameters (MQL always uses Adler32) and may not) of the source data
Maybe try slipping in an empty four bytes?