Use SecureRandom to generate ticket strings