DES MOINES, Iowa - The allegations read like a movie plot: a lottery industry insider installs undetectable software giving him advance knowledge of winning numbers, then enlists accomplices to play those numbers and collect the jackpots. And they secretly enrich themselves for years - until a misstep exposes them.

Eddie Tipton, former security director of the Multi-State Lottery Association, has been convicted of fraud for fixing one jackpot in Des Moines, but prosecutors say his high-tech scheme extended far beyond Iowa. He's accused of tampering with lottery drawings in four states over six years, and investigators are expanding their inquiry nationwide.

Thirty-seven states and U.S. territories use random-number generators from the Iowa-based association, which administers games and distributes prizes for the lottery consortium. So far, Colorado, Wisconsin, and Oklahoma have confirmed paying jackpots valued at a total of $8 million allegedly linked to Tipton and associates.

Iowa investigators have asked states in the consortium to review jackpots produced by the number-generators Tipton had access to and whose winning numbers were specifically requested by the ticket buyer. They hope to talk with anyone aware of such payouts being collected by someone other than the person who ends up with the money, said Rob Sand, a state prosecutor in Des Moines who is leading the probe.

The inquiry is sending a chill through state governments that depend on public confidence in contests that generate $20 billion annually in lottery revenue.

Tipton installed software or had access to machines for national games such as Hot Lotto and some state-based games. The most lucrative, Powerball and scratch tickets, don't rely on computers and weren't part of the scheme.

"It would be pretty naive to believe they are the only four" jackpots involved, said now-retired Iowa deputy Attorney General Thomas H. Miller, who oversaw the investigation for 21/2 years. "If you find one cockroach, you have to assume there are 100 more you haven't found."

Tipton, 52, was sentenced to 10 years but is free pending appeal after being convicted at trial of trying to claim a $16.5 million jackpot in Iowa. He's also charged with criminal conduct and money laundering involving the other three state lotteries. His brother, Tommy Tipton, and his best friend, Robert Rhodes, are under investigation as possible accomplices.

Rhodes' attorney did not respond to messages. Tommy Tipton, who resigned his elected judicial position in Texas last month, did not return calls. Eddie Tipton's attorney, Dean Stowers, says his client is innocent.

Prosecutors say Eddie Tipton made sure that evidence disappeared, by installing software, known as a root kit, that enabled him to manipulate numbers without a trace. What tripped him up, investigators say, was his decision to buy a winning ticket himself at a service station near the headquarters of the association, whose workers are prohibited from trying their luck.

Iowa got suspicious in 2012 after a New York lawyer representing a newly created trust tried to claim the $16.5 million Hot Lotto jackpot on behalf of a Belize-registered corporation, turning in the ticket hours before a one-year deadline.

The trust eventually withdrew the claim rather than identify the ticket purchaser. Then the case took a dramatic twist.

Authorities released surveillance footage showing a stocky, hooded man buying the winning ticket and hot dogs at a service station in December 2010. Lottery colleagues were stunned, stepping forward to say the man looked and sounded like Tipton.

Eddie Tipton had worked at the association since 2003, after a career in information technology, including at a Rhodes-owned firm in Houston called Systems Evolution. He was promoted in 2013 to security director, a job that included protecting the integrity of the computer programs that generate winning numbers.

Investigators allege that Tipton passed the winning ticket to Rhodes, a businessman in Sugar Land, Texas, who was his classmate at the University of Houston. Rhodes then passed it to a Canadian offshore banking expert who gave it to the New York lawyer who tried to collect, they said. Rhodes is now fighting extradition to Iowa, where he was charged early this year.

Testifying at Eddie's trial in July, brother Tommy insisted the video shows some other, larger man. Besides, he added: "Eddie's not a hot dog guy."