Generates random string with SecureRandom