Your example shows the same input for decrypt as you used for encrypt ... 
hopefully that was just a typo, otherwise it's probably your issue.

> (decrypt)
> decrypt(FORM.password,request.seed,request.algorithm,request.encoding)

In other words, I would expect something more like this:

 encPwd = encrypt(FORM.password, request.seed, request.algorithm, 
request.encoding);

pwd = decrypt(encPwd, request.seed, request.algorithm, request.encoding);

decrypt() is expecting string which is already encoded with the requested 
algorithm.

Just a thought.

 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325016
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to