I have an encryption problem. I just started using the encrypt/decrypt 
functions in cold fusion to encrypt my SQL passwords. I am having a problem 
with a certain password. The password encrypted is: K9Hans0085 which is fine to 
me but when I decrypt it I get the following returned: K9Hans0084. For some 
reason the 5 is being changed to a 4. It seems to happen to any passwords that 
are length 10 that end in 1,5,9. If anyone has a way to solve this problem or 
could tell me what I am doin wrong it would be greatly appreciated. The 
encrytption method I use is: ToBase64(Encrypt(Pass,Key))
and Decrypt is ToBinary(decrypt(Pass,Key). 

Thanks for your help in advance,

Jim

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190941
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to