Browse Source

回滚高强提交部分

wangy 6 months ago
parent
commit
ec56d5442b

+ 2 - 1
base-common/src/main/java/com/ozs/common/utils/stateSecrets/SM4.java

@@ -195,7 +195,8 @@ public class SM4
 		{
 			int p = input[input.length - 1];
 			ret = new byte[input.length - p];
-			System.arraycopy(input, 0, ret, 0, input.length - p);
+			//System.arraycopy(input, 0, ret, 0, input.length - p);
+			System.arraycopy(input, 0, ret, 0, p);
 		}
 		return ret;
 	}