问题描述
- 请教各位密码学及数学高手,这段代码反加密如何实现。谢谢
-
public static byte[] decrypt(byte[] paramArrayOfByte) { ByteArrayOutputStream localByteArrayOutputStream = new ByteArrayOutputStream(); for (int i = 0;; i += 2) { if (i >= paramArrayOfByte.length) return localByteArrayOutputStream.toByteArray(); int j = -120 + paramArrayOfByte[i]; int k = -122 + paramArrayOfByte[(i + 1)]; localByteArrayOutputStream.write((j << 4) + (k & 0xF)); } }
时间: 2024-09-11 00:31:03