Many times using PHP we developers require to generate a random string for obfuscation purpose. There could be lot of use-cases where this is applicable. Today, I will show you how to generate a random string of arbitrary length from the given character set.
For the sake of simplicity, let's