瀏覽代碼

Z991239-5772 #comment 恢复加密库哈希码为大写,解决加解密存在密钥不一致问题

80274480 11 月之前
父節點
當前提交
c87f1a0366
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Other/libfilecryption/fileanalysis.cpp

+ 1 - 1
Other/libfilecryption/fileanalysis.cpp

@@ -96,7 +96,7 @@ unsigned long get_srcfile_size(const char* pfilename)
 
 static int bin2str(unsigned char* x, int xlen, char* str, int str_size)
 {
-	static const char* hex2char = "0123456789abcdef";
+	static const char* hex2char = "0123456789ABCDEF";
 	int i, k = 0;
 	if (str_size <= xlen * 2)
 		return -1;