I'm trying to find a good way to create a random salt to encrypt a password as in
I've googled and googled but can't find a suitable answer. One suggestion was
which is hardly random.
I'm using PHP 5.3
Any ideas welcome. Thanks.