Stole the base64? function.
Cleaner now, as well as ring dependency.