> However, I went and re-read them and it seems that it's the usage of the
> function which was producing inconsistent results. Encrypting with
> cf_encrypt will produce some random characters at the end of the string
> and if comparing using a where clause as in:
>
> where cf_encrpyt(form.password, key) =
> cf_decrypt(recordset.password,key)
>
So, the problems were with the unofficial funcs? If so, I'm not going to
worry about them. Again, if you don't use the official funcs, you reap what
you sow. ;)
> Another problem which arose were some strange ascii characters output by
> cf_encrypt. These caused some folks problems when storing them in a
> database. A solution was to either URLDe/Encode the results or use a
> Base64 function.
Again, is this with the official or unofficial funcs?
=Ray
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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