khwarizmi Active Member Licensed User Longtime User May 21, 2025 #1 Hi all I want to compress a file with a password. I know that ArchiverPlusZip does this task through: B4X: Dim zip As ArchiverPlusZip zip.EncryptZipWithString(.........) zip.AddFileToZip(xui.DefaultFolder,"aaa.txt","ar") but parameters are not clear to me. thanks in advance
Hi all I want to compress a file with a password. I know that ArchiverPlusZip does this task through: B4X: Dim zip As ArchiverPlusZip zip.EncryptZipWithString(.........) zip.AddFileToZip(xui.DefaultFolder,"aaa.txt","ar") but parameters are not clear to me. thanks in advance
Solution DonManfred May 21, 2025 You did NOT understand the system, rigth? The 1st Parameter is ONE of the ZIP_ENC_* Constants. ZIP_ENC_METHOD_AES, ZIP_ENC_METHOD_STANDARD or ZIP_ENC_NO_ENCRYPTION
You did NOT understand the system, rigth? The 1st Parameter is ONE of the ZIP_ENC_* Constants. ZIP_ENC_METHOD_AES, ZIP_ENC_METHOD_STANDARD or ZIP_ENC_NO_ENCRYPTION
DonManfred Expert Licensed User Longtime User May 21, 2025 #2 khwarizmi said: but parameters are not clear to me. Click to expand... Look at the comments for them So for the first parameter they are Same applies to the others.... What exactly is the question now? Upvote 0
khwarizmi said: but parameters are not clear to me. Click to expand... Look at the comments for them So for the first parameter they are Same applies to the others.... What exactly is the question now?
khwarizmi Active Member Licensed User Longtime User May 21, 2025 #3 B4X: Dim ax As ArchiverPlusZip ax.EncryptZipWithString(ax.ZIP_AES_STRENGTH_128, ax.ZIP_AES_STRENGTH_256, "123444") Upvote 0
B4X: Dim ax As ArchiverPlusZip ax.EncryptZipWithString(ax.ZIP_AES_STRENGTH_128, ax.ZIP_AES_STRENGTH_256, "123444")
DonManfred Expert Licensed User Longtime User May 21, 2025 #4 You did NOT understand the system, rigth? The 1st Parameter is ONE of the ZIP_ENC_* Constants. ZIP_ENC_METHOD_AES, ZIP_ENC_METHOD_STANDARD or ZIP_ENC_NO_ENCRYPTION Upvote 1 Solution
You did NOT understand the system, rigth? The 1st Parameter is ONE of the ZIP_ENC_* Constants. ZIP_ENC_METHOD_AES, ZIP_ENC_METHOD_STANDARD or ZIP_ENC_NO_ENCRYPTION
khwarizmi Active Member Licensed User Longtime User May 21, 2025 #5 thanks DonManfred, it works perfectly. Upvote 0