<p>How would you convert a parapraph to hex notation, and then back again into its original string form?</p>

<p>(C#)</p>

<p>A side note:  would putting the string into hex format shrink it the most w/o getting into hardcore shrinking algo's?</p>

```
```
public string ConvertToHex(string asciiString)
{
    string hex = "";
    foreach (char c in asciiString)
    {
        int tmp = c;
        hex += String.Format("{0:x2}", (uint)System.Convert.ToUInt32(tmp.ToString()));
    }
    return hex;
}
```
```