package bitcoinml

  1. Overview
  2. Docs
type t = string
type hash = t
type b = bytes
val reverse : string -> string
val to_bin : t -> b
val to_bigint : t -> Big_int.big_int
val of_bin : b -> t
val of_bin_norev : b -> t
val zero : unit -> t
val print_bin : bytes -> string
val sha1 : bytes -> bytes
val sha256 : bytes -> bytes
val ripemd160 : bytes -> bytes
val hash160 : bytes -> bytes
val hash256 : bytes -> bytes
val dsha256 : bytes -> bytes
val checksum4 : bytes -> bytes
OCaml

Innovation. Community. Security.