Base64 Encode

Base64 encode function