Ratings | | Unique User Downloads | | Download Rankings |
Not yet rated by the users | | Total: 85 | | All time: 9,939 This week: 129 |
|
Description | | Author Paragon Initiative Enterprises
Contributor
|
This package can be used to create and verify chained blocks of hashed data.
It uses the BLAKE2b approach to create a chain of blocks of data so the hash of a block of data contains the block data itself and a hash of the previous block in the chain.
The package can also verify the integrity of the chain but checking the hashes of all blocks that are linked in the chain. Innovation Award
 August 2019
Number 3 |
Block chains have been made popular in the latest years as a means to send payments using virtual currencies such as Bitcoin.
This package implements a similar concept in PHP using blocks of chained data and hashes of the data to allow the verification of the authenticity of the chained block data.
Manuel Lemos |
| |
 |
|
Innovation award
 Nominee: 28x
Winner: 1x |
|
Details
Blakechain

Blakechain is a simple hash-chain data structure based on the BLAKE2b hash function.
Includes:
-
The `Blakechain` implementation, which chains together `Node` objects
-
A runtime `Verifier` class that validates the self-consistency of an entire chain
(or a subset of an entire chain)
Blakechain is not a blockchain. You probably don't need a blockchain.
Blakechain provides the data structure used in Chronicle.
How Blakechain Works
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]
);
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.