dart_merkle_lib library
A performance conscious package for merkle root and tree calculations.
Functions
-
fastRoot(
List< Uint8List> values, DigestFn digestFn) → Uint8List - constant-space merkle root calculation algorithm
-
merkle(
List< Uint8List> values, DigestFn digestFn) → List<Uint8List> - Get Merkle Tree
-
merkleProof(
List< Uint8List?> tree, Uint8List leaf) → List<Uint8List?> ? - Make Merkle Proof
-
verify(
List< Uint8List?> proof, DigestFn digestFn) → dynamic - Verify Proof