Encrypts or decrypts a file using a specified mode with extended options.
@deprecated use CIPHER_FileEncrypt() and CIPHER_FileDecrypt() instead.
Public Declare Function DES_FileExt Lib "diCryptoSys.dll"
(ByVal strFileOut As String, ByVal strFileIn As String,
ByRef lpKey As Byte, ByVal bEncrypt As Boolean,
ByVal strMode As String, ByRef lpInitV As Byte, ByVal nOptions As Long) As Long
nRet = DES_FileExt(strFileOut, strFileIn, abKey(0), bEncrypt, strMode, abInitV(0), nOptions)
long __stdcall DES_FileExt(const char *szFileOut, const char *szFileIn, const unsigned char *lpKey, int fEncrypt, const char *szMode, const unsigned char *lpIV, long nOptions);
DES_File
.If successful, the return value is 0; otherwise it returns a non-zero error code.
Des.FileEncrypt Method (String, String, Byte[], Mode, Byte[], CipherFileOption)
Des.FileDecrypt Method (String, String, Byte[], Mode, Byte[], CipherFileOption)
For the default behaviour, see DES_File
.
The options are ignored if not applicable.
For more information on the behaviour of the options, see
Extensions to block cipher functions for files.