随笔分类 -  C/C++

上一页 1 2 3 4 5 6 7 ··· 46 下一页
该文被密码保护。
posted @ 2025-09-19 17:04 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-19 16:42 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-17 17:59 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-17 17:48 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-17 15:43 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-13 13:20 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-12 14:29 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要:https://github.com/guanzhi/GmSSL?tab=readme-ov-file 阅读全文
posted @ 2025-09-11 14:46 我不是萧海哇~~~ 阅读(20) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-11 10:58 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <stdlib.h> #include <string.h> #include <openssl/aes.h> #include <openssl/rand.h> #include <openssl/evp.h> #include <opens 阅读全文
posted @ 2025-09-11 10:41 我不是萧海哇~~~ 阅读(126) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-10 22:31 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要:#include <openssl/evp.h> #include <openssl/asn1.h> // 从PKCS8编码中获得公钥 int lbxx_pkcs8_d2i_sm2_pubkey(unsigned char* pucDer, unsigned int puiLen, unsigned 阅读全文
posted @ 2025-09-10 18:06 我不是萧海哇~~~ 阅读(25) 评论(0) 推荐(0)
摘要:int openssl_sm3() { EVP_MD_CTX* mdctx; const EVP_MD* mdfunc; unsigned char md_value[EVP_MAX_MD_SIZE]; unsigned int md_len, i; // 初始化MD5函数 mdfunc = EVP 阅读全文
posted @ 2025-09-10 15:08 我不是萧海哇~~~ 阅读(35) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-10 11:51 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-10 11:49 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-09 22:23 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-09 22:09 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要:int openssl_sm4_ecb() { unsigned char out[16] = { 0 }; int outlen = 0,tmplen = 0;; EVP_CIPHER_CTX* ctx = NULL; ctx = EVP_CIPHER_CTX_new(); EVP_Encrypt 阅读全文
posted @ 2025-09-09 17:55 我不是萧海哇~~~ 阅读(33) 评论(0) 推荐(0)
摘要:int openssl_hash() { { // 输入参数 const char* key = "xiaohai"; const char* data = "xiaohai"; unsigned int hmac_len; // 计算HMAC unsigned char* result = HMA 阅读全文
posted @ 2025-09-09 13:53 我不是萧海哇~~~ 阅读(23) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-09-09 10:33 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 46 下一页