mitcho Posted April 9, 2008 Share Posted April 9, 2008 Hi All. I have a site that uses blowfish encryption to firstly save some user details to a mySQL database submitted in a form, which are then decrypted to be viewed in the backend of the site. This has worked fine for 6 months without problem, then all of a sudden, i noticed some users data was not being decrypted properly in the backend. when i view the 'decrypted' details, half of it is decrypted then the second half is still strange encrypted characters (e.g. ”¥£åyök). The details which are being decrypted/encrypted is a credit card number. as i said, works fine then all of a sudden a couple of times ive noticed the above problem. it also seems to be the same people having the problem, so does this mean that there is a certain series of digits which break the blowfish algorithm, or could it be the computer/browser the user is using when submitting the form? Any assistance/advice will come much appreciated! Thanks all Quote Link to comment https://forums.phpfreaks.com/topic/100326-blowfish-php-encryption-half-decrypting/ Share on other sites More sharing options...
gluck Posted April 9, 2008 Share Posted April 9, 2008 I would say check the series that actually causes the issue. Could it cause a collision. Not sure Quote Link to comment https://forums.phpfreaks.com/topic/100326-blowfish-php-encryption-half-decrypting/#findComment-513464 Share on other sites More sharing options...
mitcho Posted March 6, 2009 Author Share Posted March 6, 2009 Hi all, This same thing is happening again and i thought i would check google for a solution - and i came across this post which i actually posted some time ago. Wondering if now, almost a year later, anyone has any new information about this. its being used to encrypt and decrypt a bankcard number, and its the same person (actually its only that person) whose card is not being decrypted properly - just the last 8 characters. so could the last 8 characters be causing a conflict do you think??? if so where would that conflict lie within the blowfish scripts? Quote Link to comment https://forums.phpfreaks.com/topic/100326-blowfish-php-encryption-half-decrypting/#findComment-777977 Share on other sites More sharing options...
hagiwhat Posted March 6, 2009 Share Posted March 6, 2009 thanks mitcho.. very nice this post.. Quote Link to comment https://forums.phpfreaks.com/topic/100326-blowfish-php-encryption-half-decrypting/#findComment-778601 Share on other sites More sharing options...
mitcho Posted March 8, 2009 Author Share Posted March 8, 2009 thanks mitcho.. very nice this post.. I don't get it? what do you mean Quote Link to comment https://forums.phpfreaks.com/topic/100326-blowfish-php-encryption-half-decrypting/#findComment-779342 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.