Ver código fonte

回滚wangyy提交部分

wangy 4 meses atrás
pai
commit
617fe93ed2

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

@@ -195,8 +195,7 @@ 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, p);
+			System.arraycopy(input, 0, ret, 0, input.length - p);
 		}
 		return ret;
 	}