PTC interview question

OOP concepts , Encryption - Decryption