EncryptFile Method

Object: FileManager
Syntax: objFileManager.EncryptFile ([in] InFilename, [in] OutFilename, [in] Password, [in, optional, defaultvalue(1)] saEncType)
Description:

This method encrypts the file specified by InFileNameand saves the result to the OutFileNamelocation.

FileManager allows you to select either TwoFish or RSAencryption. TwoFish encryption is 128-bit. RSA encryption is either 40-bit or 128-bit, depending on the system. To determine whether the system supports 128-bit encryption, check Internet Explorer's "About" (in IE's Help menu).

EncryptFile Parameters
InFileName The file to encrypt
OutFileName FileManager will save the encrypted file to this location.
Password Use this password to decrypt the file with either DecryptFile or Decrypt.

Important!Remember the password. You will not be able to recover the file without it.
saEncType The encryption type, which may be either RSA encryption or TwoFish encryption. Assign saEncTypeby name or number:

      1   SARSA
      2   SATWOFISH
      3   SARSAHIGH
      4   SARSALOW


Copyright © 2010 SoftArtisans, Inc. All rights reserved.