Try using CFUSION_encrypt instead...

// Encrypt URL param
CFUSION_encrypt(URL.Card_Id,secret_key);

// Decrypt URL param
CFUSION_decrypt(URL.Card_Id,secret_key);


-----Original Message-----
From: Chris Bohill [mailto:[EMAIL PROTECTED]]
Sent: 29 August 2001 10:20
To: CF-Talk
Subject: Encrypt and Decrypt function


Hi all.
 
Are there any known Bugs associated with the Encrypt and Decrypt
function. We have used these functions to encrypt variables that we are
passing through as URL's. 
 
95% of the time this works fine, but sometimes we get the following
message, or similar messages. Two minutes later it will be working
again.
 
Has anyone had any experience of this. Feedback would be greatly
appreciated.
 
An error occurred while evaluating the expression: 

CI = Decrypt(ToString(ToBinary(URL.Card_Id)),secret_key)

   Chris Bohill 
   WEB APPLICATIONS DEVELOPER

  Biznet 

    Head Office 
    133-137 Lisburn Road, Belfast 
    Northern Ireland BT9 7AG 
    T  +44 (0) 28 9022 3224 
    F  +44 (0) 28 9022 3223 
    E   <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] 
    W   <http://www.biznet-solutions.com/> biznet-solutions.com 

 

************************************************************************
**********************************************************************

If you are not the intended recipient, or person responsible for
delivering it to the intended recipient, you are not authorized

to and must not disclose, copy, distribute or retain this message or any
part of it. 

The opinions / views / comments on this e-mail do not necessarily
reflect any views or policies of biznet

The recipient should check this email and any attachments for the
presence of viruses. biznet accepts no liability for any damage caused
by any virus transmitted by this email. biznet 2001.

************************************************************************
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to