Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 86 | All time: 10,018 This week: 206 |
Version | License | PHP version | Categories | |||
blakechain 1.0.0 | 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 (13) |
File | Role | Description | ||
---|---|---|---|---|
src (3 files) | ||||
tests (3 files) | ||||
.travis.yml | Data | Auxiliary data | ||
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 (13) | / | src |
File | Role | Description |
---|---|---|
Blakechain.php | Class | Class source |
Node.php | Class | Class source |
Verifier.php | Class | Class source |
Files (13) | / | 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.