how to Convert a string to SHA1 encryption
864299Oct 12 2011 — edited Oct 12 2011Hello,
how to convert a string value to an encrypted SHA1 value ?
I want to convert an input value from a view attribute to SHA1 and then store it in DB .
so the proper place to handle that (in my opinion) would be in getter accessor of that attribute.
Thank you,
Shahab