From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 4B75DBC57 for ; Sun, 25 Apr 2010 10:53:30 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuoHAFKf00tRZ90xkWdsb2JhbACQMot0DhUBAQEBCQsKBxEDH7tphQwE X-IronPort-AV: E=Sophos;i="4.52,269,1270418400"; d="scan'208";a="49552852" Received: from mtaout03-winn.ispmail.ntl.com ([81.103.221.49]) by mail2-smtp-roc.national.inria.fr with ESMTP; 25 Apr 2010 10:53:30 +0200 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100425085325.GGVD5841.mtaout03-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Sun, 25 Apr 2010 09:53:25 +0100 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100425085325.KIJK13959.aamtaout02-winn.ispmail.ntl.com@romulus.metastack.com> for ; Sun, 25 Apr 2010 09:53:25 +0100 Received: from Tenor ([172.16.0.8]) (authenticated bits=0) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id o3P8rLiR021843 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sun, 25 Apr 2010 09:53:22 +0100 From: "David Allsopp" To: References: <21143_1272112080_o3OCS0k4017232_20100424142747.18553coxijfxshc3@webmail.in-berlin.de> <20100424134531.GC15735@localhost> <20100424162943.558012fsx1vvxqon@webmail.in-berlin.de> In-Reply-To: <20100424162943.558012fsx1vvxqon@webmail.in-berlin.de> Subject: RE: [Caml-list] SHA1 => stdlib ?! Date: Sun, 25 Apr 2010 09:53:20 +0100 Message-ID: <003101cae454$c2538640$46fa92c0$@romulus.metastack.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGm1XxL2owoPR5tF2YWkQg0i6TagAF6liIFAmbJtnMCCkRNtQ== Content-Language: en-gb Organization: MetaStack Solutions Ltd. X-Scanned-By: MIMEDefang 2.65 on 81.102.132.77 X-Cloudmark-Analysis: v=1.1 cv=1ggfb5FlKZQUfF3vzm9UBYZ2uTfLsbs/8dSljwg5+mE= c=1 sm=0 a=-g7SOKDXbtsA:10 a=8sW17jYxVu0A:10 a=kj9zAlcOel0A:10 a=rdP8ftaUAAAA:8 a=Zpvw_X0e7JXtt_TSCakA:9 a=iGXjGnZ2fZBkqJG046rGLyZ_xKgA:4 a=CjuIK1q_8ugA:10 a=WTMa2BIHHIsA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-Spam: no; 0.00; stdlib:01 bandel:01 0200,:01 bandel:01 stdlib:01 ocaml:01 functors:01 ocaml:01 compiler:01 cmi:01 wrote:01 wrote:01 oliver:01 oliver:01 caml-list:01 Oliver Bandel wrote: > Zitat von "Eric Cooper" : > > > On Sat, Apr 24, 2010 at 02:27:47PM +0200, Oliver Bandel wrote: > >> is it planned, to also include SHA1-Hash into stdlib? > > > > I don't know about stdlib, but the ocaml-sha library > > (http://tab.snarc.org/projects/ocaml_sha/) provides Sha1 (and 256 and > > 512) modules with the same interface as stdlib's Digest, so they can > > easily be plugged into functors, etc. > [...] > > OK, thanks. > > I can try this. > > But easy installation via normal OCaml-diustribution would also be fine. > :) Yeah, but we all know from (too many) previous discussions on this list that that's very unlikely to happen! The OCaml standard library happens to support MD5 digests because the compiler uses them (they're an integral part of the linker and dynamic loader as digests are used in .cmi files). David