{"id":64644,"library":"filecoin-project-go-fil-commp-hashhash","title":"go-fil-commp-hashhash","description":"A Go library for calculating Filecoin Unsealed Commitment (commP/commD) using a hash.Hash interface.","status":"active","version":"0.4.0","language":"go","source_language":null,"source_url":"https://github.com/filecoin-project/go-fil-commp-hashhash","tags":["filecoin","commitment","hash","commp"],"install":[{"cmd":"go get github.com/filecoin-project/go-fil-commp-hashhash","lang":"bash","label":"Install github.com/filecoin-project/go-fil-commp-hashhash"}],"dependencies":[],"imports":[{"symbol":"commp","correct":"github.com/filecoin-project/go-fil-commp-hashhash"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/filecoin-project/go-fil-commp-hashhash\"\n)\n\nfunc main() {\n\tvar h commp.Hash\n\tdata := []byte(\"hello world\")\n\th.Write(data)\n\tdigest := h.Sum(nil)\n\tfmt.Printf(\"%x\\n\", digest)\n}","lang":"go","description":"Compute a Filecoin commitment hash from data."},"warnings":[],"env_vars":null,"search_vec":"'calcul':10 'commit':13,20 'commp':4,22 'commp/commd':14 'fil':3 'filecoin':11,19 'go':2,7 'go-fil-commp-hashhash':1 'hash':21 'hash.hash':17 'hashhash':5 'interfac':18 'librari':8 'unseal':12 'use':15","created_at":"2026-06-17T16:58:28.047242+00:00","updated_at":"2026-06-17T16:58:28.047242+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/filecoin-project/go-fil-commp-hashhash","github":"https://github.com/filecoin-project/go-fil-commp-hashhash","docs":"https://pkg.go.dev/github.com/filecoin-project/go-fil-commp-hashhash#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}