Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] SHA1 => stdlib ?!
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Allsopp <dra-news@m...>
Subject: RE: [Caml-list] SHA1 => stdlib ?!
Oliver Bandel wrote:
> Zitat von "Eric Cooper" <ecc@cmu.edu>:
> 
> > 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