TNG Digital interview question

Encryption, OOP and SQL query