- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
49 lines
1.2 KiB
Smali
49 lines
1.2 KiB
Smali
.class public Lcom/glu/plugins/gluanalytics/util/Crypto;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 10
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static hmacSHA256([BII[B[BI)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/security/InvalidKeyException;,
|
|
Ljava/security/NoSuchAlgorithmException;,
|
|
Ljavax/crypto/ShortBufferException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 16
|
|
new-instance v0, Ljavax/crypto/spec/SecretKeySpec;
|
|
|
|
const-string v1, "HmacSHA256"
|
|
|
|
invoke-direct {v0, p3, v1}, Ljavax/crypto/spec/SecretKeySpec;-><init>([BLjava/lang/String;)V
|
|
|
|
.line 18
|
|
invoke-static {v1}, Ljavax/crypto/Mac;->getInstance(Ljava/lang/String;)Ljavax/crypto/Mac;
|
|
|
|
move-result-object p3
|
|
|
|
.line 19
|
|
invoke-virtual {p3, v0}, Ljavax/crypto/Mac;->init(Ljava/security/Key;)V
|
|
|
|
.line 20
|
|
invoke-virtual {p3, p0, p1, p2}, Ljavax/crypto/Mac;->update([BII)V
|
|
|
|
.line 21
|
|
invoke-virtual {p3, p4, p5}, Ljavax/crypto/Mac;->doFinal([BI)V
|
|
|
|
return-void
|
|
.end method
|