aboutsummaryrefslogtreecommitdiffstats
path: root/lib/concepts/Hash.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/concepts/Hash.mli')
-rw-r--r--lib/concepts/Hash.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/concepts/Hash.mli b/lib/concepts/Hash.mli
index b3ae2dc..0e71fda 100644
--- a/lib/concepts/Hash.mli
+++ b/lib/concepts/Hash.mli
@@ -28,5 +28,8 @@ val hash_equals : hash -> hash -> bool
(** given a hash, return a `bytes` representation of it *)
val bytes_of_hash : hash -> bytes
+(** given a hash, return a `blob` representation of it *)
+val blob_of_hash : hash -> Blob.t
+
(** pick one every 1/2^n hashes *)
val pick : int -> hash -> bool