package cid
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
On This Page
  
  
  Content-addressed Identifiers
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      cid-0.1.0.tbz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=541f53b7cdc62b9860d8dc5a6856759da34395a71ba4cf2dbdaade522fe65bf3
    
    
  sha512=0db58f25180158ae0fd2b0539ab645f5cd316965d3c014abfc6f13d1ded88da348919713f3518316fbb04e4c25bc5978f24dfff4ea5bb2b92d3f0f55bd870c59
    
    
  Description
Published: 23 Mar 2023
README
ocaml-cid
Content-addressed identifiers in OCaml.
Quick Example
# let s = "zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA";;
val s : string = "zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA"
# let cid = Cid.of_string s |> Result.get_ok;;
val cid : Cid.t = <abstr>
# Cid.pp_human Format.std_formatter cid;;
cidv1 - base58btc - raw - ident(sha2-256) length(32) digest(6e 6f f7 95 0a 36 18 7a  80 16 13 42 6e 85 8d ce
                                                            68 6c d7 d7 e3 c0 fc 42  ee 03 30 07 2d 24 5c 95
                                                            )
- : unit = ()
# Cid.to_string cid;;
- : string = "zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA"See test/irmin_cid.ml to see how they can be used for Irmin store hashing.
Dependencies (4)
- multihash-digestif
- multicodec
- multibase
- 
  
    dune
  
  
    >= "3.2"
Used by (1)
- 
  
    forester
  
  
    >= "5.0"
Conflicts
None
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  On This Page