Pergunta de entrevista da empresa Cvent

Encryption vs hashing. API integrals, simple programming question