MCPcopy
hub / github.com/CreditTone/hooker / toBase64

Function toBase64

js/hook_encryption_algo2.js:12–14  ·  view source on GitHub ↗
(tag, data)

Source from the content-addressed store, hash-verified

10var ByteString = Java.use("com.android.okhttp.okio.ByteString");
11//输出base64格式数据
12function toBase64(tag, data) {
13 console.log(tag + " Base64: ", ByteString.of(data).base64());
14}
15//输出hex格式数据
16function toHex(tag, data) {
17 console.log(tag + " Hex: ", ByteString.of(data).hex());

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected