SpiderFlow-base64

时间:2026-02-15

base64

base64

encode

参数名描述可否为空
bytes要加密的字节数组否
参数名描述可否为空
string要加密的字节数组否
charset编码格式,默认UTF-8是

TIP

返回值类型:String

根据字节数组或字符串进行base64加密,返回String

  • 根据访问结果进行base64加密

${base64.encode(resp.html)}
${base64.encode(resp.bytes)}

encodeBytes

参数名描述可否为空
bytes要加密的字节数组否
参数名描述可否为空
string要加密的字节数组否
charset编码格式,默认UTF-8是

TIP

返回值类型:byte[]

  • 根据字节数组或字符串进行base64加密,返回byte[]

 ${base64.encodeBytes(resp.html)}
${base64.encodeBytes(resp.bytes)}

decode

参数名描述可否为空
bytes/string要解密的字节数组或字符串否

TIP

返回值类型:byte[]

根据字节数组或字符串进行base64解密,返回byte[]

  • 根据访问结果进行base64解密

${base64.decode(resp.html)}
${base64.decode(resp.bytes)}

decodeString

参数名描述可否为空
string要解密的字符串否
参数名描述可否为空
bytes要解密的字节数组否
charset编码格式,默认UTF-8是

TIP

返回值类型:String

根据字节数组或字符串进行base64解密,返回String

  • 根据访问结果进行base64解密

${base64.decodeString(resp.html)}
${base64.decodeString(resp.bytes)}


免责声明:服务用于个人学习、研究或欣赏,以及其他非商业性或非盈利性用途,但同时应遵守著作权法及其他相关法律的规定,不得侵犯本网站及相关权利人的合法权利。
IPv4 © 2005-2026 库目书 版权所有 | kumushu.com .All Rights Reserved
黑ICP备2022003236号-1