thanks
On Oct 6, 1:05 pm, "Dave Maharaj :: WidePixels.com"
<[email protected]> wrote:
> You can use
>
> $this->data['User']['confirm_code'] = string::uuid();
>
> "The uuid is a 128bit string in the format of
> 485fc381-e790-47a3-9794-1337c0a8fe68"
>
> http://book.cakephp.org/view/573/uuid
>
> Dave
>
> -----Original Message-----
> From: Jas [mailto:[email protected]]
> Sent: October-05-09 11:15 PM
> To: CakePHP
> Subject: Are Hashed values unique?
>
> I've got an Email confirmation/validation process working for new users, the
> user receives an email with a link and this link has a hash value. I am just
> wondering if it were possible that one word could have the same hash as
> another?
>
> Using either of these hash methods sha1/sha256/md5?
> If so what are other people using to generate a unique code? apart from
> date/time as that would be guessable.
>
> Thanks
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---