66 lines
1.4 KiB
Smali
66 lines
1.4 KiB
Smali
.class public Lcom/zk/drivermonitor/utils/DataDealUtils;
|
|
.super Ljava/lang/Object;
|
|
.source "DataDealUtils.java"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 5
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
:try_start_0
|
|
const-string v0, "utf-8"
|
|
|
|
.line 14
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Lcom/zk/drivermonitor/utils/ZLibUtils;->a([B)[B
|
|
|
|
move-result-object p0
|
|
:try_end_0
|
|
.catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 17
|
|
invoke-virtual {p0}, Ljava/io/UnsupportedEncodingException;->printStackTrace()V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
const-string v0, "analysysdata"
|
|
|
|
.line 19
|
|
invoke-static {v0}, Lcom/zk/drivermonitor/utils/AESUtils;->a(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p0, v0}, Lcom/zk/drivermonitor/utils/AESUtils;->a([B[B)[B
|
|
|
|
move-result-object p0
|
|
|
|
.line 20
|
|
invoke-static {p0}, Lcom/zk/drivermonitor/utils/AESUtils;->a([B)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|