Brain fingerprinting is a technique that uses brainwave responses to visual or audio stimuli to determine what information is stored in a person's brain. It works by measuring the P300 brainwave, which is emitted if the presented stimulus matches information in a person's memory. Brain fingerprinting has applications in national security, medical diagnosis, advertising, and criminal justice by analyzing whether specific memories are present or absent from a subject's brain.