Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can someone help test a MD5 hash value.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00777283
Message ID:
00780600
Vues:
9
I guess the other thing we could check is to see if your digest is the same as mine. My digest comes back looking like this.
˜µ1í‘”†ìërÌò
Is that the same as yours?

Rodd

>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform