Base64 Encode

Encodes the given data with base64 algorithm.