Contents - Index


GetDecryptHeaderByteByPtr


 

 

Applies to

TVCLUnZip component

 

Declaration 

function GetDecryptHeaderByteByPtr( Passwrd: String; dh: BytePtr ): Byte; 

 

Description  

This method is mainly for use in BCB and is analogous to the DecryptHeaderByte Method which should be used if developing in Delphi.  

 

You should pass dh in as a 12 byte array that should previously be filled in by a call to GetDecryptHeaderPtr.  

 

This function is used in conjunction with the GetDecryptHeaderPtr to determine if a password matches the password key of a file.  This function is only needed if doing low level work with passwords and encrypted zip files.  

 

See Also:  

 

DecryptHeader 

DecryptHeaderByte 

GetDecryptHeaderPtr