Encrypt a file with advanced options
public static int FileEncrypt( string fileOut, string fileIn, byte[] key, Mode mode, byte[] iv, CipherFileOption advOptions )
Public Shared Function FileEncrypt ( _ fileOut As String, _ fileIn As String, _ key As Byte(), _ mode As Mode, _ iv As Byte(), _ advOptions As CipherFileOption _ ) As Integer
0 if successful or non-zero error code
fileOut and fileIn must not be the same
VB6/C equivalent: DES_FileExt