encrypt_9 - TS Solution