ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 8th, 2005, 03:34 PM
Mudflap4874 Mudflap4874 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 116 Mudflap4874 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 13 h 56 m 58 sec
Reputation Power: 5
CF Error with decrypt

We have a simple application that encrypts credit card numbers in the database and will decrypt via an administration module.

In the admin module in CF4.5, when trying to view a detail of the record, an error occurs stating "The value to be decrypted is not vaild".

In CFMX 6.1 everything works just fine when accessing the record detail.

The attached image shows the database table with the encrypted numbers. All with green arrows have the box as the last character and work fine in CF4.5 and CFMX. The one with the red arrow returns the error in CF4.5. No error in CFMX.

I just don't know if this is a CF4.5 vs. CFMX issue or if there is something else that is wrong. Does it have to do with that box at the end of each record? What other information can I provide to help someone come up with an answer?

thanks!
Attached Images
File Type: gif DB.gif (1.9 KB, 72 views)

Reply With Quote
  #2  
Old July 10th, 2005, 09:07 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,648 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 12 h 8 m 8 sec
Reputation Power: 53
Not sure what the problem could be, other than the fact that CFMX is much, much more robust than 4.5.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
  #3  
Old July 11th, 2005, 06:52 AM
Mudflap4874 Mudflap4874 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 116 Mudflap4874 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 13 h 56 m 58 sec
Reputation Power: 5
Thanks for your reply, kiteless.

Reply With Quote
  #4  
Old July 11th, 2005, 08:36 AM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,648 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 12 h 8 m 8 sec
Reputation Power: 53
Actually it could be a character encoding issue (that is probably what the box at the end is). It could be that the 4.5 database drivers are barfing on the encoding, but that the 6.1 driver deals with it properly.

As an aside, unless you have hundreds of thousands of dollars to pay people to ensure that your network and database are totally secure, you shouldn't be storing credit card numbers in your database anyway. You have siginificant liability if hackers get to them.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > CF Error with decrypt


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway