Use JDK base64 encoding tools