Yahoo said Wednesday that it believes hackers stole data from more than one billion user accounts in August 2013.