Tweak: calculate correct hash for base64 texture

This commit is contained in:
33 committed 2022-07-29 02:29:15 +08:00
1 parent a3de21497d
commit 583bf1fe6a
1 file changed
+1 -1
@@ -94,7 +94,7 @@ public class HttpTextureUtil {
}
public static String getHash(byte[] bytes) {
return DigestUtils.sha1Hex(bytes);
return DigestUtils.sha256Hex(bytes);
}
public static File getCacheFile(String hash) {