Random String function

PHP function for generating a random string to be stored as a salt.