Would it be anything to do with single quotes ???
~Justin


----- Original Message -----
From: "Marcus" <[EMAIL PROTECTED]>
To: "Cf-Talk" <[EMAIL PROTECTED]>
Sent: Friday, August 18, 2000 5:16 PM
Subject: odd decryption


> Odd new problem, I hope someone can help...
>
> I have downloaded a text file from a service. This file needs to be
> encrypted so I use the code...
>
> ... <CFSET encrypted = encrypt(string, key)>
>
> Where string hold the text file, and key is the encryption key I use.
>
> Then I store it in a 'text' field in an SQL7 db for later.
>
> Later, when I try and pick up the file, I use...
>
> <cfquery name="get_report" datasource="#dsn#" dbtype="ODBC">
> SELECT      report
> FROM        dbo.leads
> WHERE       (Answer3 = '#ss#')
> </cfquery>
> <cfoutput>
> <cfset txtoutput = #get_report.report#>
> <CFSET decrypted = decrypt(txtoutput, key)>
>
> <hr>
> <pre>
> #decrypted#
> </pre>
> <hr>
> </cfoutput>
>
> This works ok, but only half the file in decrypted. It displays everything
> perfectly, except about half way down the page, it just trails off in
> garbage characters. Any ideas?
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
>

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to