The two biggest hacker conferences in the world take place during the same week every year in Las Vegas.

Referred to as "hacker summer camp," Black Hat USA and Def Con last week brought together hackers, information security professionals, and government agents.

This year, more than 22,000 people showed up to see talks, buy tools and T-shirts, and enjoy Sin City. They also crammed into various villages at Def Con to compete or learn things like lockpicking and safekeeping their online privacy.

Here's what went down.