Encodes string to base 64.
String: Location of the string to convert into base 64
Output-location: Location to store the output data