StreamHelper.smali

.class public Lcom/hzy/tvmao/model/legacy/api/StreamHelper;
.super Ljava/lang/Object;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    const-string/jumbo v0, "kksdk"

    invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a(Ljava/lang/String;)Ljava/lang/String;
    .registers 4

    :try_start_0
    new-instance v0, Ljava/lang/String;

    const-string/jumbo v1, "UTF-8"

    invoke-virtual {p0, v1}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B

    move-result-object v1

    invoke-static {v1}, Lcom/hzy/tvmao/model/legacy/api/StreamHelper;->enc2([B)[B

    move-result-object v1

    const/4 v2, 0x0

    invoke-static {v1, v2}, Landroid/util/Base64;->encode([BI)[B

    move-result-object v1

    const-string/jumbo v2, "UTF-8"

    invoke-direct {v0, v1, v2}, Ljava/lang/String;-><init>([BLjava/lang/String;)V
    :try_end_18
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_18} :catch_19

    :goto_18
    return-object v0

    :catch_19
    move-exception v0

    invoke-virtual {v0}, Ljava/io/UnsupportedEncodingException;->printStackTrace()V

    const/4 v0, 0x0

    goto :goto_18
.end method

.method public static synchronized native declared-synchronized dec([B)[B
.end method

.method public static synchronized native declared-synchronized dec1([B)[B
.end method

.method public static synchronized native declared-synchronized dec2([B)[B
.end method

.method public static synchronized native declared-synchronized enc([B)[B
.end method

.method public static synchronized native declared-synchronized enc1([B)[B
.end method

.method public static synchronized native declared-synchronized enc2([B)[B
.end method

.method public static synchronized native declared-synchronized init(Landroid/content/Context;Ljava/lang/String;)Z
.end method