使用openssl进行sm4加密(附带MD5)
#include <openssl/evp.h>#include <openssl/ossl_typ.h>#include <openssl/md5.h>#include <string.h>int Enclicense(unsigned char* in, int inlen, unsigned char* _out){ int ret = 0; unsigned char out[1024] = { 0 }; int
原创
2020-10-13 19:41:10 ·
3984 阅读 ·
1 评论