Encrypt Method

Object: File
Syntax: objFile.Encrypt ([in] OutFilename, [in] Password, [in, optional, defaultvalue(1)] saEncType)
Description:

This method encrypts the current file and saves the result to the location specified by the OutFileNameparameter. Use the Decrypt method to decrypt the file.

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).

Encrypt Parameters
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.