Here is a little snippet I use to encrypt and decrypt data that someone
posted to the list a while back

<cfset
secret_word_encrypted=#ToBase64(encrypt("#customer_secret_word#","#customer_
last_name#1234"))#>

<cfset thevalue="#tostring(tobinary("#secret_word_encrypted"))#">

jon
----- Original Message -----
From: "Rick Lamb" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 3:21 PM
Subject: OT - encryption for sql 7.0


> I've tried to get some help for this from the sql lists but haven't got
any
> response, so I'm going with the trusty CF group on this. Is what I'm
looking
> for is software to encrypt certain table fields in a sql 7.0 database. I
> would also like to here from any of you on how you handle sensitive data,
> either on the database side, or through your applications. I'm referring
to
> things like credit card information.
>
> Thanks,
>
> Rick
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to