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:
00780595
Vues:
9
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform