Encrypts or decrypts a file using a specified mode with extended options.
Public Declare Function BLF_FileExt Lib "diCryptoSys.dll"
(ByVal strFileOut As String, ByVal strFileIn As String,
ByRef lpKey As Byte, ByVal nKeyLen As Long, ByVal bEncrypt As Boolean,
ByVal strMode As String, ByRef lpInitV As Byte, ByVal nOptions As Long) As Long
nRet = BLF_FileExt(strFileOut, strFileIn, abKey(0), nKeyLen, bEncrypt, strMode, abInitV(0), nOptions)
long __stdcall BLF_FileExt(const char *szFileOut, const char *szFileIn, const unsigned char *lpKey, long keyBytes, int fEncrypt, const char *szMode, const unsigned char *lpIV, long nOptions);
BLF_File
.If successful, the return value is 0; otherwise it returns a non-zero error code.
Blowfish.FileEncrypt Method (String, String, Byte[], Mode, Byte[], CipherFileOption)
Blowfish.FileDecrypt Method (String, String, Byte[], Mode, Byte[], CipherFileOption)
For the default behaviour, see BLF_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.