| | |
| | | // byte[] encryptedBytes2 = Base64.decode("aYC9feYEOFOQHuzflLIXSw==", Base64.DEFAULT); |
| | | byte[] encryptedBytes2 = Base64.decode("qeg4DUWf0ni9JfRWtD2krA==", Base64.DEFAULT); |
| | | byte[] decryptedBytes2 = cipher.doFinal(encryptedBytes2); |
| | | //decryptedBytes2 对应010203040506 |
| | | companyKeyA = new String(decryptedBytes2, StandardCharsets.UTF_8); |
| | | companyKey = HexUtil.hexToByteArray(companyKeyA); |
| | | |
| | | //修改后的密码 |
| | | byte[] encryptedBytes3 = Base64.decode("n+SSZFb4DHsreVav/Z5ftg==", Base64.DEFAULT); |
| | | byte[] decryptedBytes3 = cipher.doFinal(encryptedBytes3); |
| | | |
| | | companyKeyB = new String(decryptedBytes3, StandardCharsets.UTF_8); |
| | | //decryptedBytes3 对应202311202048 |
| | | companyKeyB = new String(decryptedBytes2, StandardCharsets.UTF_8); |
| | | |
| | | |
| | | } catch (NoSuchAlgorithmException | NoSuchPaddingException | InvalidKeyException | |