Two civil liberties groups sued the state of California on Wednesday to block a ballot measure that would require sex offenders to turn over information about their Internet accounts to police.

California voters overwhelming approved the measure, Proposition 35, on Tuesday.