Hi all,
I'm writing a C++ program calculating MD5 hash.
Let say it contains foo1() and foo2()
which foo1() outputs data to unsigned char* buf with lenght "buflen".
I'd like to store buf in somewhere (not in a file) rigth after foo1() ends each time.
After few foo1() run few times(1~20 times), foo2() calculates all output of foo1() which already store sequencely somewhere.
By the way, foo2() reads unsigned char * type if I change type during storing output of foo1().
Please give me some advice, thanks!