摘要: 话不多说,直接上示例代码 std::string Base64Encode(const unsigned char* data, size_t size) { size_t base64_len = (size + 2) / 3 * 4; if (base64_len == 0) { return 阅读全文
posted @ 2022-08-07 20:41 SupperMary 阅读(2863) 评论(0) 推荐(0) 编辑
摘要: 在 java 上进行 AES128/ECB/PKCS5Padding 加密解密是很简单的 public static String aesDecrypt(String str,String key) throws Exception{ Cipher cipher = Cipher.getInstan 阅读全文
posted @ 2022-08-07 20:33 SupperMary 阅读(4120) 评论(1) 推荐(0) 编辑