Pregunta de entrevista de Cvent

Encryption vs hashing. API integrals, simple programming question