{"id":20790361,"url":"https://github.com/paragonie/blakechain","last_synced_at":"2025-07-29T12:11:28.821Z","repository":{"id":57035860,"uuid":"95257257","full_name":"paragonie/blakechain","owner":"paragonie","description":"Hash chains built with BLAKE2b","archived":false,"fork":false,"pushed_at":"2024-05-08T17:34:12.000Z","size":26,"stargazers_count":22,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-19T19:25:02.715Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paragonie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-23T21:20:11.000Z","updated_at":"2024-05-08T17:34:16.000Z","dependencies_parsed_at":"2025-05-05T20:21:07.779Z","dependency_job_id":null,"html_url":"https://github.com/paragonie/blakechain","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/paragonie/blakechain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragonie%2Fblakechain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragonie%2Fblakechain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragonie%2Fblakechain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragonie%2Fblakechain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paragonie","download_url":"https://codeload.github.com/paragonie/blakechain/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragonie%2Fblakechain/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267684867,"owners_count":24127699,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T15:34:21.344Z","updated_at":"2025-07-29T12:11:28.789Z","avatar_url":"https://github.com/paragonie.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blakechain\n\n[![Build Status](https://github.com/paragonie/blakechain/actions/workflows/ci.yml/badge.svg)](https://github.com/paragonie/blakechain/actions)\n[![Static Analysis](https://github.com/paragonie/blakechain/actions/workflows/psalm.yml/badge.svg)](https://github.com/paragonie/blakechain/actions)\n[![Latest Stable Version](https://poser.pugx.org/paragonie/blakechain/v/stable)](https://packagist.org/packages/paragonie/blakechain)\n[![Latest Unstable Version](https://poser.pugx.org/paragonie/blakechain/v/unstable)](https://packagist.org/packages/paragonie/blakechain)\n[![License](https://poser.pugx.org/paragonie/blakechain/license)](https://packagist.org/packages/paragonie/blakechain)\n[![Downloads](https://img.shields.io/packagist/dt/paragonie/blakechain.svg)](https://packagist.org/packages/paragonie/blakechain)\n\nBlakechain is a simple hash-chain data structure based on the BLAKE2b hash function.\n\nIncludes:\n\n* The `Blakechain` implementation, which chains together `Node` objects\n* A runtime `Verifier` class that validates the self-consistency of an entire chain\n  (or a subset of an entire chain)\n\nBlakechain is not a blockchain. You probably [don't need a blockchain](https://tonyarcieri.com/on-the-dangers-of-a-blockchain-monoculture).\n\nBlakechain provides the data structure used in [Chronicle](https://github.com/paragonie/chronicle).\n\n### How Blakechain Works\n\nThe hash of each message is a keyed BLAKE2b hash, where the key of this message\nis the hash of the previous message.\n\nRecursively:\n\n    $hash[$n] = sodium_crypto_generichash(\n        $data[$n],\n        $hash[$n - 1]\n    );\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparagonie%2Fblakechain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparagonie%2Fblakechain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparagonie%2Fblakechain/lists"}