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 OutFileName parameter.

FileManager allows you to select either TwoFish or RSA encryption. 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
OutFileNameFileManager will save the decrypted file to this location
PasswordThe password set by EncryptFile or Encrypt. If the password is incorrect, the file will be saved as OutFileName but the decryption will fail.
saEncTypeThe encryption type, which may be either TwoFish encryption, or CryptoAPI. Assign saEncType by name or number:

      1   SARSA
      2   SATWOFISH
      3   SARSAHIGH
      4   SARSALOW



 


Copyright © 2002 SoftArtisans, Inc. All rights reserved.