Pergunta de entrevista da empresa Paycom

Questions about common web app attacks and how to mitigate them. Sql injection, buffer overflow xx scrpting attack. Difference between hashing and encryption.