Re: Extending uniqid() or not?
Hi!
> It may be extend to produce safe unique ID
>
> string uniqid(TRUE) - Returns random ID string which is safe to use
> security purposes.
What's wrong with mcrypt_create_iv() which exists specifically for the
purpose of generating secure random string?
> P.S. Is anyone working UUID? PostgreSQL is using OSSP's UUID lib, it's good
> for PHP.
> http://www.postgresql.org/docs/9.2/interactive/uuid-ossp.html
There's uuid extension for PHP as far as I can see:
http://ossp-uuid.sourcearchive.com/documentation/1.6.2-1ubuntu2/php_2uuid_8c_source.html
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
Thread (29 messages)