| | |
| | | |
| | | |
| | | static { |
| | | System.loadLibrary("native-lib"); |
| | | System.loadLibrary("qihealone-native-lib"); |
| | | } |
| | | |
| | | public native String getSafeKey(Object object); |
| | |
| | | defauleKey = HexUtil.hexToByteArray(decryptedText); |
| | | //初始密码 |
| | | // byte[] encryptedBytes2 = Base64.decode("aYC9feYEOFOQHuzflLIXSw==", Base64.DEFAULT); |
| | | byte[] encryptedBytes2 = Base64.decode("qeg4DUWf0ni9JfRWtD2krA==", Base64.DEFAULT); |
| | | //010203:qeg4DUWf0ni9JfRWtD2krA== |
| | | byte[] encryptedBytes2 = Base64.decode("Zro4j8QP6yjYEA6HtSSNOw==", Base64.DEFAULT); |
| | | byte[] decryptedBytes2 = cipher.doFinal(encryptedBytes2); |
| | | //decryptedBytes2 对应010203040506 |
| | | companyKeyA = new String(decryptedBytes2, StandardCharsets.UTF_8); |