adding fallback to mt_rand() in random string generation
fixing undef
Merge pull request #7 from naneau/master

adding fallback to mt_rand() in random string generation