Implement random string generation for event verification