Intuit interview question

write a low-level program for encryption