It uses sha1 but uses additional hash from Security.salt in hashing :) -- Lep pozdrav, Tilen Majerle http://majerle.eu
2011/7/1 madusanka hettiarachchi <[email protected]> > hi all, > > I got different result using these two methods! > :::::1st way:::::::::::: > $key = 123; > $result= $this->Auth->password($key); > > :::::2nd way:::::::::::: > $result=sha1($key); > > is it means $this->Auth->password(); use diffent hasing method? wt is the > method cake auth component use? > > -- > Ganganath Hettiarachchi > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
