on the receiving end. However, our Decrypt tag throws and error, not liking
some of the Encrypted code. The example below works under the same
circumstances. Encrypting in one template and decrypting in another
template (by <CFOUTPUT), copying, and reentering in a form, also throws and
error. The thing I can think of is there is something that is different in
the encrypted code than appears to be visible and copy/pasted??
Should the encrypted code be conditioned or ?? before trying to Decrypt?
Thanks,
Nick
Example,
<cfset string = FORM.myString>
<cfset key = FORM.myKey>
<cfset encrypted = encrypt(string, key)>
<cfset decrypted = decrypt(encrypted, key)>
<cfoutput>
<H4><B>The string:</B></H4> #string# <BR>
<H4><B>The key:</B></H4> #key#<BR>
<H4><B>Encrypted:</B></H4> #encrypted#<BR>
<H4><B>Decrypted:</B></H4> #decrypted#<BR>
</cfoutput>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

