This sample demonstrates ZipForge support of the strong AES encryption of ZIP archives
Download ZipForge | Learn More | All Delphi samples
program ZipWithAESEncryption;
{$APPTYPE CONSOLE}
uses
SysUtils, ZipForge, Classes;
var
archiver : TZipForge;
begin
archiver := TZipForge.Create(nil);
try
with archiver do
begin
FileName := 'C:\test.zip';
OpenArchive(fmCreate);
BaseDir := 'C:\';
EncryptionMethod := caAES_256;
Password := 'my_password';
AddFiles('c:\test.txt');
CloseArchive();
end;
except
on E: Exception do
begin
Writeln('Exception: ', E.Message);
Readln;
end;
end;
end.
Download ZipForge | Learn More | All Delphi samples |
|
|
Current version: 6.95
Released: January 21, 2019
Price: $ 69
|
|
I don't think I've ever had a better support experience in regard to any of the 3rd party tools we use.
Tim Stickley
|
|
|