Wednesday, March 16, 2016

Re: Storing encrypted value using getter/setter not working. Stored in plain text.

I hate to state the obvious, but did you verify that the field size was large enough to store the encrypted value?
I had a similar issue with hashing a password, the field wasn't large enough and the value was saved but cut off so that the password never matched.
Maybe try it with the max varchar size and see if it will work.

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: