Yahoo has become the worst-case example of an unnerving but increasingly common phenomenon—massive hacks that steal secrets and other potentially revealing information from our personal digital accounts, or from big organizations that hold sensitive data on our behalf.