Contents - Index - Previous - Next


EncryptStrength property

 

Applies to

TVCLZip component component

 

Declaration

property EncryptStrength: TEncryptStrength = (esPKStandard, esAES128, esAES192, esAES256) default esPKStandard;

 

Description   (This property is new in VCLZip 4)

 

This is a published writable property and lets you set the encryption strength that you wish to use when creating an encrypted archive.  For backwards compatability, the default is esPKStandard which is the old PKZip encryption method.  This method is not considered to be strong encryption.  If you wish to use strong encryption, chose one of the other options.  The higher the number, the stronger the encryption.  That is, esAES256 is stronger encryption than esAES192, and esAES192 is stronger than esAES128.  Note that PKZip and WinZip will only encrypt using 128 and 256 bit but will read 192 bit encrypted files.

 

Note this property is different from the EncryptionStrength Property which provides the EncryptStrength that was used to encrypt the file.

 

See Also: 

 

EncryptionStrength Property 

Password Property 

OnBadPassword Event 

IsEncrypted property

 

 

 

Published