Re: MD5 different standards?
Joe Conway <mail@joeconway.com>
From: Joe Conway <mail@joeconway.com>
To: "M. Bastin" <marcbastin@mindspring.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-novice <pgsql-novice@postgresql.org>
Date: 2003-05-29T17:30:53Z
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