Paycom Interview Question

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