MegatronKing / StringFog

一款自动对字节码中的字符串进行加密Android插件工具
Apache License 2.0
1.67k stars 334 forks source link

密码被明文存储到代码中,建议提供一种不需要密码的混淆可选方案 #46

Closed lxzh closed 2 years ago

lxzh commented 3 years ago

密码被明文存储到代码中, 如下

public final class b {
    private static final XorFog a = new XorFog();

    public static String a(String str) {
        return a.decrypt(str, "Test123456");
    }
}
MegatronKing commented 2 years ago

试试3.0.0版本,默认实现已经改成每个字符串都是完全随机密码。