Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SHA256 ¶
type SHA256 struct {
// contains filtered or unexported fields
}
SHA256 contains the params of the SHA256 hash func and the curves on which it is implemented
func (*SHA256) Sum ¶
Hash hash (in r1cs form) using Miyaguchi–Preneel: https://en.wikipedia.org/wiki/One-way_compression_function The XOR operation is replaced by field addition. See github.com/consensys/gnark-crypto for reference implementation.
Click to show internal directories.
Click to hide internal directories.