S
Shahzaib17
Guest
below is the code which is producing a md5 hash but its printing it and i want to store it in a char array or more preferably in a string
for (DWORD i = 0; i < cbHash; i++)
{
printf("%c%c", rgbDigits[rgbHash >> 4],
rgbDigits[rgbHash & 0xf]);
}
//rgbHash is of BYTE type
//rgbDigits is of CHAR type
how can i store above printf() value in a string?
Continue reading...
for (DWORD i = 0; i < cbHash; i++)
{
printf("%c%c", rgbDigits[rgbHash >> 4],
rgbDigits[rgbHash & 0xf]);
}
//rgbHash is of BYTE type
//rgbDigits is of CHAR type
how can i store above printf() value in a string?
Continue reading...