| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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" <Ralf DOT Habacker AT freenet DOT de> |
| To: | "cygwin" <cygwin AT cygwin DOT com> |
| Subject: | md5 problems with postgresql |
| Date: | Fri, 8 Nov 2002 09:49:03 +0100 |
| Message-ID: | <017b01c28703$b0b24540$0a1c440a@BRAMSCHE> |
| MIME-Version: | 1.0 |
| 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 '<? echo md5("0123456789") ."\n"; ?>' | 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |