Jochem,
Still with your code there is apparently some part of the code in the
variable "encrypted" that confuses Cold Fusion. It appears that CF is
interpreting something in the code as a tag ending.
Thanks,
Nick
At 12:55 PM 10/3/2004, you wrote:
>Nick Baker wrote:
> > We need to Encrypt and email private info. Then using the same key decrypt
> > 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??
>
>This can happen with multibyte encodings. Try putting a
>ToBase64() in between:
>
><cfset encrypted = encrypt(ToBase64(string), key)>
><cfset decrypted = ToString(ToBinary(decrypt(encrypted, key)))>
>
>Jochem
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- RE: CSS and tableless tables Hugo Ahlenius
- RE: CSS and tableless tables Ewok
- RE: CSS and tableless tables Hugo Ahlenius
- Encrypt Decrypt? Nick Baker
- Re: Encrypt Decrypt? Jochem van Dieten
- Nick Baker