> Hi All,
>  
> What is the criteria for a string to be valid in order for it to be
> decrypted?
>  
> When attempting to decrypt the following string 1_0+^G]*XJORO?-[2< "H?&KS!$
> I receive:
>  
> "The value to be decrypted is not valid"
>  
> I have never experienced any issues with characters when decrypting ...
> anyone with any insight?
>  
> Using CF5.
>  
> Thanks,
> Sarah.

Hi Sarah,

I've written a series of java tags for encryption / decryption to replace
the cf equivalents. The tags use PBEWithMD5AndDES from the javax.crypto.*
package of JRE 1.4x. Which basically means password based encryption (PBE)
with MD5 password hashing (MD5) and data encryption standard (DES). The
tags use UTF8 encoding for the encrypted string.

cfx_JEncrypt - Encrypt/Decrypts text strings
cfx_JQEncrypt - Encrypt columns in a query
cfx_JQDecrypt - Decrypt columns in a query

>From time to time we have a requirement to store encrpyted data in the db,
thus the need for the query tags. The URL to download them is here -:

http://www3.health.nsw.gov.au/cf_encrypt.zip

Up to you if you wish to use them,

hth
Rod


  

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to