package
Version:
v0.0.0-...-e976260
Opens a new window with list of versions in this module.
Published: May 5, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
¶
Package hasher is responsible for hashing and merging the nodes
MergeAndHash appends two bytes and the uses hasher to hash the appended bytes
type Keccak256Hasher struct{}
Keccak256Hasher is hasher type for the keccack
Hash generates keccak hash from bytes
type Sha256Hasher struct{}
Sha256Hasher is hasher type for the sha256
Hash generates sha256 hash from bytes
Source Files
¶
Click to show internal directories.
Click to hide internal directories.