package bitcoinml

  1. Overview
  2. Docs
type t = string
include sig ... end
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
type hash = t
include sig ... end
val hash_of_sexp : Sexplib.Sexp.t -> hash
val sexp_of_hash : hash -> Sexplib.Sexp.t
type b = bytes
include sig ... end
val b_of_sexp : Sexplib.Sexp.t -> b
val sexp_of_b : b -> Sexplib.Sexp.t
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 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.