Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can someone help test a MD5 hash value.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00777283
Message ID:
00780595
Views:
11
I'm pretty rusty on my C++, but it looks as though we're doing the same thing. I'm taking each byte of my digest and converting it to it's 2 character hex value.

Are there different MD5 standards so that we're both coming up with different digest values?

>I don't know much about FoxPro syntax since my background is C++, Visual Basic and ASP. Within Encoder Wizard, this is the part that converts the digest to the standard format.
>
> unsigned char digest[16];
> GetDigest(sSecret,digest);
> CString adder;
> CString sDigest;
> for (int i = 0;i<16;i++)
> {
> adder.Format("%02x",digest[i]);
> sDigest += adder;
> }
> return sDigest;
>
>Basically take each byte and convert it two its 2 character hex value.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform