DLK Technologies interview question

encryption and decryption method