i was almost certain that cake already uses sha1 (>= cake1.2 anyway)

On 12 Jul., 22:01, Bharadwaj Parthasarathy <barbi.br...@gmail.com>
wrote:
> Hi,
>
> Cake uses MD5, which is still the standard for most web applications.
> You can see the method call md5 (grep for md5 and password ) in the  
> register and login functions of the user controller.
> E.g.    $this->data['User']['password'] = md5($this->data['User']
> ['password']);
> if ($results && substr ($results['User']['password'], 0, 19) ==  
> substr(md5($this->data['User'] ['password']), 0, 19 ))
>
> Of Course, you have to include your own hash function and change the  
> md5 calls to your new method.
> You may also have to make some changes to the password field [increase  
> length?] of the DB, if required.
>
> Thanks,
> Bharadwajhttp://blogpostsite.com
>
> On 12-Jul-10, at 1:15 AM, vanishri wrote:
>
>
>
> > HI,
>
> > am developing an application using cake php ,in which registartion and
> > login are working fine.am using cakephp's default hash methodology for
> > password encryption.
>
> > but now i want to do with encryption method " AES_ENCRYP "  for
> > password field during registarion and while logging in.
> > how can i achive it ?
>
> > Please reply me.
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help  
> > others with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google  
> > Groups "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this  
> > group athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to