I wish to calculate an md5 hash with a MASM module written myself.
How i can use the MASM function ("$ GetMD5 [file(s)]") in u++?
thanks a lot
Maybe you shoul check first whether your version is faster than one provided with U++ (in Web package)
U++ does not directly support assembler. But you coould add it as library, as standalone object file or as .asm in package and use custom build step to compile.
Hey thx!
I would have to use my asm code for not increment my app size adding a pack... howewer can you explain me where is md5 function in Web pack and how to use it?
thankyou very much !
There are two versions - first one is for raw binary data, second one is for String. If used with binary data, you have to supply how much data is there. String has this information inside.
OK, now the somewhat confusing part is that String can be constructed from (zero terminated) const char * and converts to (zero terminated) const char *....
Anyway, the simple thing to do is to avoid second parameter.