Re: MD5 different standards? - Mailing list pgsql-novice

From Joe Conway
Subject Re: MD5 different standards?
Date
Msg-id 3ED643CD.6020902@joeconway.com
Whole thread Raw
In response to MD5 different standards?  ("M. Bastin" <marcbastin@mindspring.com>)
Responses MD5 done. Thanks!
List pgsql-novice
M. Bastin wrote:
> Are there different MD5 standards?
>
> The rfc (http://www.faqs.org/rfcs/rfc1321.html) says:
>
> The algorithm takes as input a message of arbitrary length and produces
> as output a 128-bit [= 16 bytes] "fingerprint" or "message digest" of
> the input.
>
> My IDE's MD5 function produces 16 bytes.  Yet for pgsql MD5 should
> produce 32 bytes.

16 binary bytes == 32 bytes in hex

You need to convert IDE's MD5 function output to hex.

Joe


pgsql-novice by date:

Previous
From: "M. Bastin"
Date:
Subject: MD5 different standards?
Next
From: "M. Bastin"
Date:
Subject: MD5 different standards--or not?