请问如何将输出放进str1?
int main()
{
MD5_CTX md5_calc;
char c[] = "qwertyu";
unsigned char md5[16];
//演示计算字符串abc的MD5码
MD5Init(&md5_calc);
MD5Update(&md5_calc, (unsigned char*)c, strlen(c));
MD5Final(md5, &md5_calc);
//输出MD5码
string str1;
//printf("MD5 ");
for (int i = 0; i < 15; i++){
printf("%02x", md5[i]);
}
printf("\n");
cout<<str1<<endl;
printf("\n");
return 0;
}
}