Crypto-Example
Crypto-Example copied to clipboard
require unsigned char *
g++ -Wall -Wextra -ggdb -DUSE_PBKDF -o crypto_example base64.cpp Crypto.cpp crypto_example.cpp -lcrypto Crypto.cpp: 在成员函数‘int Crypto::generateAesKey(unsigned char**, unsigned char**)’中: Crypto.cpp:116:113: erroe :不能将 ‘int EVP_BytesToKey(const EVP_CIPHER*, const EVP_MD*, const unsigned char*, const unsigned char*, int, int, unsigned char*, unsigned char*)’的实参‘7’从‘unsigned char**’转换到‘unsigned char*’