Encoder base64

Converts (encodes) an arbitrary string to base64 format.

Produces results similar to the PHP function base64_encode()

This encoding is intended to ensure that binary data is preserved when transmitting binary data over protocols that do not support 8-bit transmission, such as mail body.