Microsoft Interview Question

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