base64: oocify the API and add a unit test
base64: {from,to}Base64 is redundant, {en,de}code is better.