Re: creating random strings without md5
| From: | szii at sziisoft dot com | Date: | Tue, 07 May 2002 18:41:09 +0000 |
| Subject: | Re: creating random strings without md5 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19022@lists.php.net to get a copy of this message | ||
Are you on a varient of Un*x?
Does the file /dev/random exist?
This reads in random "noise" off of the PCI bus. Good for
key generators and randomizing stuff.
'Luck
-Szii
----- Original Message -----
From: "andy" <news.letters@gmx.de>
To: <php-db@lists.php.net>
Sent: Tuesday, May 07, 2002 11:29 AM
Subject: [PHP-DB] creating random strings without md5
> Hi there,
>
> I did create random strings with md5 because I did not know a better way.
> But it takes to long, and I guess that function is not made for it :-) So is
> there a function which is creating random characters like mt_rand or rand()
> does for numbers?
> I would like to create a string up to 255 characters long with random
> characters.
>
> Thanx for any help,
>
> Andy
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php