Update Crypt.php

Use a secure random number generator.
Change behavior of randomString to accumulate strong random bytes that fall within the provided character set.