Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Ralf Habacker" To: "cygwin" Subject: md5 problems with postgresql Date: Fri, 8 Nov 2002 09:49:03 +0100 Message-ID: <017b01c28703$b0b24540$0a1c440a@BRAMSCHE> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Hi all, I've recognized some md5 differences on the various crypting tools between cygwin and linux. [1]openssl: echo "0123456789" | openssl dgst -md5 [2]md5sum: echo "0123456789" | md5sum [3]php: echo '' | php -q [4]postgre: select encode(digest('0123456789', 'md5'), 'hex'); linux 8.0 [1]openssl: 3749f52bb326ae96782b42dc0a97b4c1 [2]md5sum: 3749f52bb326ae96782b42dc0a97b4c1 [3]php: 781e5e245d69b566979b86e28d23f2c7 [4]postgre: 781e5e245d69b566979b86e28d23f2c7 cygwin [1]openssl: 3749f52bb326ae96782b42dc0a97b4c1 [2]md5sum: 3749f52bb326ae96782b42dc0a97b4c1 [3]php: 781e5e245d69b566979b86e28d23f2c7 [4]postgre: 7d7d51501a6d0d251eff1ca5c13bda57 Results: [1] and [2] are the same under cygwin and linux 8.0 [3] is the same under cygwin and linux 8.0 too, but differs from [1] und [2] [4] differ between cygwin and linux 8.0 I'm surprised about this difference. Has anyone an idea what the reason could be ? Thanks Ralf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/