Encoding and decoding a sting into multiple variations.