Certain airports can randomly search your check in bags .. and some (Honolulu did) X-ray ALL check in bags right there in the terminal.
I never sweat so much in my life. But, it was OK, and all I did was hide it in my clothing, in a pocket of one of my workout pants.