| Recommend this page to a friend! | 
|  Download | 
| Info | Documentation |  Files |  Install with Composer |  Download | Reputation | Support forum | Blog | Links | 
| Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
| 2025-06-03 (-4 hours ago)  | Not yet rated by the users | Total: 86 | All time:  10,022 This week: 35  | |||||
| Version | License | PHP version | Categories | |||
| blakechain 1.0.1 | MIT/X Consortium ... | 5 | PHP 5, Cryptography | 
Blakechain is a simple hash-chain data structure based on the BLAKE2b hash function.
Includes:
Blakechain is not a blockchain. You probably don't need a blockchain.
Blakechain provides the data structure used in Chronicle.
The hash of each message is a keyed BLAKE2b hash, where the key of this message is the hash of the previous message.
Recursively:
$hash[$n] = sodium_crypto_generichash(
    $data[$n],
    $hash[$n - 1]
);
|  Files (14) | 
| File | Role | Description | ||
|---|---|---|---|---|
|  .github (1 directory) | ||||
|  src (3 files) | ||||
|  tests (3 files) | ||||
|    composer.json | Data | Auxiliary data | ||
|    LICENSE | Lic. | License text | ||
|    phpunit-autoload.php | Aux. | Auxiliary script | ||
|    phpunit.xml.dist | Data | Auxiliary data | ||
|    psalm.xml | Data | Auxiliary data | ||
|    README.md | Doc. | Documentation | ||
|  Files (14) | / | .github | / | workflows | 
|  Files (14) | / | src | 
| File | Role | Description | 
|---|---|---|
|    Blakechain.php | Class | Class source | 
|    Node.php | Class | Class source | 
|    Verifier.php | Class | Class source | 
|  Files (14) | / | tests | 
| File | Role | Description | 
|---|---|---|
|    BlakechainTest.php | Class | Class source | 
|    NodeTest.php | Class | Class source | 
|    VerifierTest.php | Class | Class source | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
|  Install with Composer | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
 | 
 | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.
 If you know an application of this package, send a message to the author to add a link here.