Hash chain using BLAKE2b

v1.0.2 2018-10-23 23:24 UTC

This package is auto-updated.

Last update: 2020-10-30 01:38:56 UTC


Build Status Latest Stable Version Latest Unstable Version License

Blakechain is a simple hash-chain data structure based on the BLAKE2b hash function.


  • 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.


$hash[$n] = sodium_crypto_generichash(
    $hash[$n - 1]