Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Public Member Functions | List of all members
zeth.core.merkle_tree.ITreeHash Class Reference
Inheritance diagram for zeth.core.merkle_tree.ITreeHash:
Inheritance graph
[legend]
Collaboration diagram for zeth.core.merkle_tree.ITreeHash:
Collaboration graph
[legend]

Public Member Functions

bytes hash (self, bytes left, bytes right)
 

Detailed Description

Abstract interface for a hash function to be used in a Merkle tree
structure.

Definition at line 17 of file merkle_tree.py.

Member Function Documentation

◆ hash()

bytes zeth.core.merkle_tree.ITreeHash.hash (   self,
bytes  left,
bytes  right 
)

Reimplemented in zeth.core.mimc.MiMCBase.

Definition at line 24 of file merkle_tree.py.

24  def hash(self, left: bytes, right: bytes) -> bytes:
25  pass
26 
27 

The documentation for this class was generated from the following file: