1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
(*
* Copyright (C) 2006-2009 Citrix Systems Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; version 2.1 only. with the special
* exception on linking described in file LICENSE.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*)
(** Takes a function which is supplied with an fd representing the input to the
sha1sum and returns the checksum as a string *)
val sha1sum: (Unix.file_descr -> unit) -> string
|