rename base64_encode to avoid the duplicate error when a thirdparty also use base64_encode.