List:General Discussion« Previous MessageNext Message »
From:Daevid Vincent Date:July 15 1999 11:49pm
Subject:Re: Unique ID Generation
View as plain text  
in PHP:

   srand(date("s"));
   $password = crypt($first_name.rand(1000,9999).substr($last_name, -3));

works just dandy for me, of course this is a one way encryption basically.
in fact, the crypt() command itself is probably sufficient ;-)

ÐÆ5ÏÐ                 What is http://TheMatrix.com

   * Progress (n.): The process through which Usenet has evolved from
     smart people in front of dumb terminals to dumb people in front of
     smart terminals.  -- obs@stripped (obscurity)


Thread
Unique ID GenerationPinkeshP15 Jul
  • Re: Unique ID GenerationPaul DuBois15 Jul
  • RE: Unique ID GenerationDon Read15 Jul
    • RE: Unique ID GenerationDon Read15 Jul
      • Re: Unique ID GenerationDaevid Vincent16 Jul
    • RE: Unique ID GenerationLincoln Yeoh16 Jul
  • Re: Unique ID GenerationDaevid Vincent16 Jul
  • Re: Unique ID GenerationDaevid Vincent16 Jul
Re: Unique ID GenerationKevin Smith15 Jul