Documentation ¶
Overview ¶
nolint:gocritic
Index ¶
- func Circuit(inputValue [64]byte) [32]byte
- func GenerateKeys(constraintsLen uint64) (pk []byte, vk []byte)
- func Init()
- func Prove(hashInput []byte, pk []byte, constraintsLen uint64) (proof []byte, err error)
- func ProveTransfer(hashInput [64]byte, auxiliaryPerConstraint uint64) ([259]byte, [5058]byte)
- func Verify(proof []byte, vk []byte, hashInput []byte) (bool, error)
- func VerifyTransfer(proof [259]byte, vk [5058]byte, hashInput [64]byte) bool
- func VerifyTransferByHash(proof [259]byte, vk [5058]byte, inputHash [32]byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKeys ¶
GenerateKeys returns newly generated PK and VK.
func ProveTransfer ¶
Old version
func VerifyTransfer ¶
Old version
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.