Hash chain using BLAKE2b
Blakechain is a simple hash-chain data structure based on the BLAKE2b hash function.
Blakechainimplementation, which chains together
- A runtime
Verifierclass 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.
The hash of each message is a keyed BLAKE2b hash, where the key of this message is the hash of the previous message.
$hash[$n] = sodium_crypto_generichash( $data[$n], $hash[$n - 1] );