EasyByte Software

Welcome to EasyByte Software

Home Buy Online Products Downloads Support
Sections
Index
About
Installation
Properties
Methods
ASP and dotNET
Further Information
  

 

 

BlowfishFileDecrypt Method
 
     

Cryptocx v7 User Guide

 

BlowfishFileDecrypt Method

This is the method that you use to decrypt blowfish encrypted file. This method is complementary to the BlowfishFileEncrypt (448 bit strength) method that encrypts the file.

 

Description

Decrypts blowfish encrypted file.

     
Syntax

x = object.BlowfishFileDecrypt

The syntax of the BlowfishFileDecrypt method has these parts:

 
Part Description
object A Cryptocx v7 control.
x A string that becomes either "TRUE" or "Error: xxx" where xxx is the error message.

       
Remarks If for whatever reason the method fails to complete, the method will return some text stating exactly what has gone wrong, if the method runs ok then the output from the method will = "TRUE". 
       
Returns

"TRUE" or a string stating what went wrong beginning with "Error:"

     
Example Sample Visual Basic Code to decrypt a Blowfish encrypted file:

Where Cryptocx1 is an instance of a Cryptocx Control.

Cryptocx1.Password = txtBlowFilePass.Text
Cryptocx1.SourceFile = txtSourceFileBlow.Text
Cryptocx1.DestinationFile = txtDestinationFileBlow.Text
theResult = Cryptocx1.BlowfishFileDecrypt


'' Check to see what has happened (if the decryption went ok without errors)
''

If theResult = "TRUE" Then
'' Ok, the Decryption went well with no errors
Else
 MsgBox theResult
End If

 

 

 

 

Back to Contents Page

 

Click here to set this great site as your home page

Or click here to add it to your Favorites.

  
  
 

Copyright (c) EasyByte Software 1998-2008, info@easybyte.com