{"id":51575,"library":"decred-dcrd-chaincfg-chainhash","title":"Decred Chain Hash","description":"Package chainhash provides abstracted hash functionality for Decred.","status":"active","version":"1.0.5","language":"go","source_language":null,"source_url":"https://github.com/decred/dcrd","tags":["decred","hash","blockchain"],"install":[{"cmd":"go get github.com/decred/dcrd/chaincfg/chainhash","lang":"bash","label":"Install github.com/decred/dcrd/chaincfg/chainhash"}],"dependencies":[],"imports":[{"symbol":"chainhash","correct":"github.com/decred/dcrd/chaincfg/chainhash"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/decred/dcrd/chaincfg/chainhash\"\n)\n\nfunc main() {\n\th := chainhash.HashH([]byte(\"data\"))\n\tfmt.Println(h)\n}","lang":"go","description":"Compute a hash using chainhash."},"warnings":[],"env_vars":null,"search_vec":"'abstract':7 'blockchain':14 'chain':2 'chainhash':5 'decr':1,11,12 'function':9 'hash':3,8,13 'packag':4 'provid':6","created_at":"2026-06-15T06:22:14.812706+00:00","updated_at":"2026-06-15T06:22:14.812706+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/decred/dcrd","github":"https://github.com/decred/dcrd","docs":"https://pkg.go.dev/github.com/decred/dcrd/chaincfg/chainhash#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-15","next_check":"2026-12-12","install_tag":null}}