Decrypt Method

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

This method decrypts the current file and saves the result to the location specified by the OutFileNameparameter.

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

Decrypt Parameters
OutFileName FileManager will save the decrypted file to this location
Password The password set by EncryptFile or Encrypt. If the password is incorrect, the file will be saved as OutFileNamebut the decryption will fail.
saEncType The encryption type, which may be either TwoFish encryption, or CryptoAPI. Assign saEncTypeby name or number:

      1   SARSA
      2   SATWOFISH
      3   SARSAHIGH
      4   SARSALOW



Copyright © 2010 SoftArtisans, Inc. All rights reserved.