user10625

Trouble with FMP MD5 matching PHP MD5

Discussion created by user10625 on Oct 1, 2018
Latest reply on Oct 2, 2018 by beverly

Hello,

 

I am trying to encrypt some data using MD5, and match what PHP gives us with (supposedly) the same algorithm.

 

In Filemaker, I am using

HexEncode (CryptDigest (  TextField ;  "MD5" ))

 

In PHP 5.5.9, the programmer I am working with is using the  MD5 function.

 

The former gives a hexadecimal coding, and the latter gives  . . . I'm not sure what it's called, but it's all letters of the alphabet, and numbers.  So clearly, I am not doing the right thing.  But I can't tell from the documentation what the right thing is, exactly.

 

Thanks for any advise.

 

 

Chris Bailey

Outcomes