Re: MD5 different standards?

From: Joe Conway <mail(at)joeconway(dot)com>
To: "M(dot) Bastin" <marcbastin(at)mindspring(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: MD5 different standards?
Date: 2003-05-29 17:30:53
Message-ID: 3ED643CD.6020902@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message M. Bastin 2003-05-29 17:42:17 MD5 different standards--or not?
Previous Message Bruno Wolff III 2003-05-29 17:24:38 Re: Rumblings of 7.4