bandit vs black hat

bandit

noun
  • One who robs others in a lawless area, especially as part of a group. 

  • A runner who covertly joins a race without having registered as a participant. 

  • An outlaw. 

  • An aircraft identified as an enemy, but distinct from "hostile" or "threat" in that it is not immediately to be engaged. 

  • One who cheats others. 

verb
  • To rob, or steal from, in the manner of a bandit. 

black hat

noun
  • A malicious hacker, one who violates computer security out of maliciousness or for personal gain. 

  • A villain or bad guy in a story, especially in a Western (a film or other work of the Western genre). 

  • A Haredi Jew; a member of an ultra-Orthodox Jewish community. 

How often have the words bandit and black hat occurred in a corpus of books? (source: Google Ngram Viewer )