Documentation ¶
Overview ¶
Package hash provides an interface that hash functions (as gadget) should implement.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hash ¶
type Hash interface { // Sum computes the hash of the internal state of the hash function. Sum() frontend.Variable // Write populate the internal state of the hash function with data. Write(data ...frontend.Variable) // Reset empty the internal state and put the intermediate state to zero. Reset() }
Click to show internal directories.
Click to hide internal directories.