Frage im Vorstellungsgespräch bei Cvent

Encryption vs hashing. API integrals, simple programming question