DecryptFile
Sub DecryptFile
( InputFile As String, OutputFile As String, Method
As ENCRYPTION_METHODS, [Password As Variant]) As Boolean |
The is function provides
common way for decryption of files encrypted with different encryption algorithms.
InputFile contains the source file name, OutputFile
resulting file. Method defines encryption method. See EncryptVariant
for available methods.
If the function fails the return value is False and the Error property contains
the error code.
Analyzing this property you can find the reason of the failure. If you
want to decrypt single values you should use DecryptVariant
function.
|