Text to Base64: Translate between text and base64

Base64 encoding schemes are commonly used when there is a need to encode binary data that needs to be stored and transferred over media that are designed to deal with textual data. Therefore 64 characters are chosen that are both members of a subset common to most encodings (ASCII), and also printable.