{"id":63736,"library":"cbergoon-merkletree","title":"Merkle Tree","description":"Package merkletree implements a Merkle Tree capable of storing arbitrary content.","status":"active","version":"0.2.0","language":"go","source_language":null,"source_url":"https://github.com/cbergoon/merkletree","tags":["merkle-tree","cryptography","data-structures","hash"],"install":[{"cmd":"go get github.com/cbergoon/merkletree","lang":"bash","label":"Install github.com/cbergoon/merkletree"}],"dependencies":[],"imports":[{"symbol":"merkletree","correct":"github.com/cbergoon/merkletree"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/cbergoon/merkletree\"\n)\n\nfunc main() {\n\t// Create a Merkle tree with content\n\ttree, err := merkletree.NewTree([]merkletree.Content{\n\t\tmerkletree.StringContent(\"data1\"),\n\t\tmerkletree.StringContent(\"data2\"),\n\t})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Printf(\"Merkle root: %x\\n\", tree.Root().Hash)\n}","lang":"go","description":"Creates a Merkle tree from content and prints the root hash."},"warnings":[],"env_vars":null,"search_vec":"'arbitrari':12 'capabl':9 'content':13 'cryptographi':17 'data':19 'data-structur':18 'hash':21 'implement':5 'merkl':1,7,15 'merkle-tre':14 'merkletre':4 'packag':3 'store':11 'structur':20 'tree':2,8,16","created_at":"2026-06-17T16:47:24.325079+00:00","updated_at":"2026-06-17T16:47:24.325079+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/cbergoon/merkletree","github":"https://github.com/cbergoon/merkletree","docs":"https://pkg.go.dev/github.com/cbergoon/merkletree#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto","utility"],"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}}