Microsoft interview question

Encode/decode two strings into one string, and back to two